You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by ol...@apache.org on 2014/03/12 17:17:49 UTC

svn commit: r1576803 - in /httpcomponents/httpclient-android/trunk: BUILDING.txt README.txt

Author: olegk
Date: Wed Mar 12 16:17:49 2014
New Revision: 1576803

URL: http://svn.apache.org/r1576803
Log:
Added BUILDING.txt with building instructions

Added:
    httpcomponents/httpclient-android/trunk/BUILDING.txt   (with props)
Modified:
    httpcomponents/httpclient-android/trunk/README.txt

Added: httpcomponents/httpclient-android/trunk/BUILDING.txt
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient-android/trunk/BUILDING.txt?rev=1576803&view=auto
==============================================================================
--- httpcomponents/httpclient-android/trunk/BUILDING.txt (added)
+++ httpcomponents/httpclient-android/trunk/BUILDING.txt Wed Mar 12 16:17:49 2014
@@ -0,0 +1,39 @@
+Building HttpComponents Client for Android 
+============================
+
+(1) Requisites
+--------------
+Android SDK rev. 17 (Jelly Bean MR1) or newer is required in order to compile 
+HttpClient for Android. Android SDK can be downloaded either separately or 
+bundled with Android Studio.   
+
+HttpClient for Android utilizes Gradle as a building and packaging tool.
+Version 1.9 or later is recommended. 
+
+Gradle installation and configuration instructions can be found here:
+
+http://www.gradle.org/
+
+(2) Building artifacts 
+
+Set environmental variable ANDROID_HOME to the location of the Android DSK.
+
+Execute the following command in order to build binary, source and javadoc artifacts.
+
+gradle -q assemble
+
+Please note that when building a release version (project version does not have 
+'-SNAPSHOT' qualifier) one must also provide signing key details in gradle.properties
+file in order to be able to sign the artifacts and successfully build the release. 
+
+---
+signing.keyId=AEAEAEAE
+signing.secretKeyRingFile=~/.gnupg/secring.gpg
+---
+
+The artifacts can be found in the 'build/libs' folder
+
+build/libs/httpclient-android-<VERSION>.jar
+build/libs/httpclient-android-<VERSION>-javadoc.jar
+build/libs/httpclient-android-<VERSION>-source.jar
+

Propchange: httpcomponents/httpclient-android/trunk/BUILDING.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: httpcomponents/httpclient-android/trunk/BUILDING.txt
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: httpcomponents/httpclient-android/trunk/BUILDING.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: httpcomponents/httpclient-android/trunk/README.txt
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient-android/trunk/README.txt?rev=1576803&r1=1576802&r2=1576803&view=diff
==============================================================================
--- httpcomponents/httpclient-android/trunk/README.txt (original)
+++ httpcomponents/httpclient-android/trunk/README.txt Wed Mar 12 16:17:49 2014
@@ -5,7 +5,7 @@ remaining partially API compatible with 
 Background
 ----------
 
-Google Android 1.0 was released with a pre-BETA spapshot of Apache HttpClient. To coincide with 
+Google Android 1.0 was released with a pre-BETA snapshot of Apache HttpClient 4.0. To coincide with 
 the first Android release Apache HttpClient 4.0 APIs had to be frozen prematurely, while many of 
 interfaces and internal structures were still not fully worked out. As Apache HttpClient 4.0 was 
 maturing the project was expecting Google to incorporate the latest code improvements into their