File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ To use this library, add the following to your `.gradle` file:
17
17
18
18
``` gradle
19
19
dependencies {
20
- implementation 'com.codepath.libraries:asynchttpclient:2.0.0 '
20
+ implementation 'com.codepath.libraries:asynchttpclient:2.0.1 '
21
21
}
22
22
```
23
23
Original file line number Diff line number Diff line change 11
11
POM_DESC = " Async Http Client wrapper using OkHttp"
12
12
POM_SCM_URL = ' https://github.com/codepath/AsyncHttpClient'
13
13
BASE_VERSION = 2
14
- VERSION_NAME = " 2.0.0 "
14
+ VERSION_NAME = " 2.0.1 "
15
15
}
16
16
17
17
version = VERSION_NAME
@@ -51,6 +51,10 @@ dependencies {
51
51
androidTestImplementation ' androidx.test.espresso:espresso-core:3.2.0'
52
52
}
53
53
54
+ task androidSourcesJar (type : Jar ) {
55
+ archiveClassifier. set(' sources' )
56
+ from android. sourceSets. main. java. srcDirs
57
+ }
54
58
55
59
// Because the components are created only during the afterEvaluate phase, you must
56
60
// configure your publications using the afterEvaluate() lifecycle method.
@@ -61,6 +65,7 @@ afterEvaluate {
61
65
release(MavenPublication ) {
62
66
// Applies the component for the release build variant.
63
67
from components. release
68
+ artifact androidSourcesJar
64
69
65
70
// You can then customize attributes of the publication as shown below.
66
71
groupId = group
You can’t perform that action at this time.
0 commit comments