Build script and dependencies to create repackaged upstream version of HttpClient and depdendencies (HttpMime, HttpCore, HttpClient-Cache) and get it working on Android API version from 3 to 23
Current version: 4.4.1.2 (originating from upstream HttpClient 4.4.1 version)
Download the repository and simply hit ./build.sh script
Required dependencies are:
- JDK 6 or newer
- Gradle 2.4 or newer
find,grep,svn,patchandsed(orgsedfor OS X)- for Kerberos support you need
Android NDK,gitandswig
## Configuration
Build params (ENV variables) you can use:
USE_GRADLE_WRAPPER, set to0if you want to use current Gradle from PATHUPDATE_UPSTREAM, whether the build script should download SVN/GIT/... sources again (useful for recurring builds)SED_CMDused variant of SED utility (default issed -ion linux andgsed -ion Mac OS X)INCLUDE_JGSS_API, experimental, whether to include Kerberos API and Negotiate, SPNego, GGS, Kerberos Auth schemes implementationVERBOSE, set to1to get more verbose output
This repository version will publish the library under namespace cz.msebera.android:httpclient:4.4.1.2
## Maven Local
Using gradle installArchives will install the library to local Maven repository
Gradle dependency string, once you have it installed
dependencies {
compile "cz.msebera.android:httpclient:4.4.1.2"
}Or you can simply depend on the project, like this (httpclient-android is resulting Gradle project dir)
dependencies {
compile project("/path/to/generated/project/httpclient-android")
}