Skip to content

Commit 0332a10

Browse files
committed
Updated build configuration
1 parent 5217c5f commit 0332a10

File tree

7 files changed

+13
-23
lines changed

7 files changed

+13
-23
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ https://oss.sonatype.org/content/repositories/snapshots/com/loopj/android/androi
2929
Maven URL: https://oss.sonatype.org/content/repositories/snapshots/
3030
GroupId: com.loopj.android
3131
ArtifactId: async-http-client
32-
Version: 1.4.5-SNAPSHOT
32+
Version: 2.0.0-SNAPSHOT
3333
Packaging: JAR or AAR
3434
```
3535

build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ def isReleaseBuild() {
1414

1515
allprojects {
1616
group = 'com.loopj.android'
17-
version = '1.4.5-SNAPSHOT'
17+
version = '2.0.0-SNAPSHOT'
1818

1919
repositories {
2020
mavenCentral()
21+
maven {
22+
url "https://oss.sonatype.org/content/repositories/snapshots/"
23+
}
2124
}
2225

2326
tasks.withType(JavaCompile) {

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
VERSION_NAME=1.4.5-SNAPSHOT
2-
VERSION_CODE=145
1+
VERSION_NAME=2.0.0-SNAPSHOT
2+
VERSION_CODE=200
33
GROUP=com.loopj.android
44

55
POM_DESCRIPTION=An Asynchronous HTTP Library for Android

library/build.gradle

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,15 @@ apply plugin: 'android-library'
22

33
android {
44
compileSdkVersion 19
5-
buildToolsVersion '19.0.0'
5+
buildToolsVersion '19.0.1'
66

77
lintOptions {
88
abortOnError false
99
}
1010
}
1111

12-
repositories {
13-
maven {
14-
url "https://oss.sonatype.org/content/repositories/snapshots/"
15-
}
16-
}
17-
1812
dependencies {
19-
compile 'com.squareup.okhttp:okhttp:1.3-SNAPSHOT'
13+
compile 'com.squareup.okhttp:okhttp:1.2.2-SNAPSHOT'
2014
}
2115

2216
android.libraryVariants.all { variant ->

library/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
33
package="com.loopj.android.http"
4-
android:versionName="1.4.5-SNAPSHOT"
5-
android:versionCode="145">
4+
android:versionName="2.0.0-SNAPSHOT"
5+
android:versionCode="200">
66

77
<uses-sdk
88
android:minSdkVersion="3" />

library/src/main/java/com/loopj/android/http/AsyncHttpClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
*/
9393
public class AsyncHttpClient {
9494

95-
public static final String VERSION = "1.4.5";
95+
public static final String VERSION = "2.0.0";
9696
public static final int DEFAULT_MAX_CONNECTIONS = 10;
9797
public static final int DEFAULT_SOCKET_TIMEOUT = 10 * 1000;
9898
public static final int DEFAULT_MAX_RETRIES = 5;

sample/build.gradle

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,9 @@ buildscript {
88
}
99
apply plugin: 'android'
1010

11-
repositories {
12-
mavenCentral()
13-
maven {
14-
url "https://oss.sonatype.org/content/repositories/snapshots/"
15-
}
16-
}
17-
1811
android {
1912
compileSdkVersion 19
20-
buildToolsVersion '19.0.0'
13+
buildToolsVersion '19.0.1'
2114

2215
defaultConfig {
2316
minSdkVersion 3

0 commit comments

Comments
 (0)