-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Configuration
See "Choosing version of library" section on WIKI
Maven POM configuation
Add repository:
<project>
...
<repositories>
<repository>
<id>android-async-http-repository</id>
// for releases
<url>http://repo1.maven.org/maven2/</url>
// for development/snapshot versions
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</repository>
</repositories>
...
</project>
Add dependency:
<dependencies>
...
<dependency>
<groupId>com.loopj.android</groupId>
<artifactId>android-async-http</artifactId>
<version>{library-version}</version>
</dependency>
...
</dependencies>
Gradle configuration
Add repository:
repositories {
...
// for releases
mavenCentral()
// for development snapshots
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots/'
}
...
}
Add dependency:
dependencies {
...
'com.loopj.android:android-async-http:{library-version}'
...
}
Maven - Release versions
Released versions are uploaded into Maven Central repository http://repo1.maven.org/maven2/
Maven - Snapshot versions
Development (Snapshot) versions are placed within OSS Sonatype Snapshot repository https://oss.sonatype.org/content/repositories/snapshots/
Using release JAR
JAR files can be downloaded from github repository https://github.com/loopj/android-async-http/tree/master/releases
You can also use JAR files within Maven repositories, (both release and snapshot repositories), see URLs above
The Android Asynchronous Http Client is released under the Apache License, Version 2.0.
Read the full license here: http://www.apache.org/licenses/LICENSE-2.0