Skip to content

Commit 823d2ef

Browse files
author
BakerJ
committed
ReadMe
1 parent a2b5228 commit 823d2ef

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ dependencies {
4747
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
4848

4949
implementation project(':rxretrohttp')
50-
// implementation 'com.github.BakerJQ:RxRetroHttp:1.2.9'
50+
// implementation 'com.github.BakerJQ:RxRetroHttp:1.2.10'
5151
implementation 'com.github.bumptech.glide:glide:4.11.0'
5252
annotationProcessor 'com.github.bumptech.glide:compiler:4.9.0'
5353
implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.50'

rxretrohttp/build.gradle

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,21 @@ afterEvaluate {
4343
// You can then customize attributes of the publication as shown below.
4444
groupId = 'com.github.BakerJQ'
4545
artifactId = 'RxRetroHttp'
46-
version = '1.2.9'
46+
version = '1.2.10'
4747
artifact(bundleReleaseAar)
48-
}
49-
// Creates a Maven publication called “debug”.
48+
//generate pom nodes for dependencies
49+
pom.withXml {
50+
def dependenciesNode = asNode().appendNode('dependencies')
51+
configurations.implementation.allDependencies.each { dependency ->
52+
if (dependency.name != 'unspecified') {
53+
def dependencyNode = dependenciesNode.appendNode('dependency')
54+
dependencyNode.appendNode('groupId', dependency.group)
55+
dependencyNode.appendNode('artifactId', dependency.name)
56+
dependencyNode.appendNode('version', dependency.version)
57+
}
58+
}
59+
}
60+
// Creates a Maven publication called “debug”.
5061
// debug(MavenPublication) {
5162
// // Applies the component for the debug build variant.
5263
// from components.debug
@@ -55,6 +66,7 @@ afterEvaluate {
5566
// artifactId = 'final-debug'
5667
// version = '1.0'
5768
// }
69+
}
5870
}
5971
}
6072
}

0 commit comments

Comments
 (0)