Skip to content

Commit bfc29df

Browse files
committed
Update Gradle/Groovy definition of build dependency
1 parent f833d62 commit bfc29df

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,14 @@ Packaging: JAR or AAR
5858
```
5959
Gradle
6060
```groovy
61-
compile 'com.loopj.android:android-async-http:1.4.8'
61+
repositories {
62+
maven {
63+
mavenCentral()
64+
}
65+
}
66+
dependencies {
67+
compile 'com.loopj.android:android-async-http:1.4.8'
68+
}
6269
```
6370

6471
**development snapshots**
@@ -71,9 +78,16 @@ ArtifactId: android-async-http
7178
Version: 1.4.9-SNAPSHOT
7279
Packaging: JAR or AAR
7380
```
74-
Gradle`
81+
Gradle
7582
```groovy
76-
compile 'com.loopj.android:android-async-http:1.4.9-SNAPSHOT'
83+
repositories {
84+
maven {
85+
url 'https://oss.sonatype.org/content/repositories/snapshots/'
86+
}
87+
}
88+
dependencies {
89+
compile 'com.loopj.android:android-async-http:1.4.9-SNAPSHOT'
90+
}
7791
```
7892

7993
Documentation, Features and Examples

0 commit comments

Comments
 (0)