Skip to content

Commit

Permalink
fix: Add dependencies of maps-utils-ktx in pom. (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
arriolac authored Mar 16, 2020
1 parent bc394e2 commit d2f14e4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,16 @@ subprojects { project ->
artifact dokkaJar
artifact sourcesJar
}

pom.withXml {
def dependenciesNode = asNode().appendNode('dependencies')
project.configurations.api.allDependencies.each { dependency ->
def dependencyNode = dependenciesNode.appendNode('dependency')
dependencyNode.appendNode('groupId', dependency.group)
dependencyNode.appendNode('artifactId', dependency.name)
dependencyNode.appendNode('version', dependency.version)
}
}
}
}

Expand Down
3 changes: 3 additions & 0 deletions maps-utils-ktx/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ android {
}
}

libraryVariants.all {
it.generateBuildConfig.enabled = false
}
}

dependencies {
Expand Down

0 comments on commit d2f14e4

Please sign in to comment.