TP-25045 | uitron internal dependencies bug fix (#13)

This commit is contained in:
Maila Rajanikanth
2023-04-13 00:26:34 +05:30
committed by GitHub Enterprise
parent 4c1409ba53
commit cd2b4b48f2

View File

@@ -5,7 +5,7 @@ plugins {
id 'maven-publish'
}
def VERSION_NAME = "1.0.2"
def VERSION_NAME = "1.0.3"
android {
namespace 'com.navi.uitron'
@@ -57,7 +57,8 @@ publishing {
maven(MavenPublication) {
artifactId = "uitron"
groupId = "com.navi.medici"
if ("$IS_SNAPSHOT"=="false") {
if ("$IS_SNAPSHOT" == "false") {
version = "navi_v$VERSION_NAME"
println("https://nexus.cmd.navi-tech.in/#browse/browse:maven-releases:com%2Fnavi%2Fmedici%2Fuitron%2F$version")
artifact("build/outputs/aar/navi-uitron-release.aar")
@@ -66,6 +67,15 @@ publishing {
println("https://nexus.cmd.navi-tech.in/#browse/browse:maven-snapshots:com%2Fnavi%2Fmedici%2Fuitron%2F$version")
artifact("build/outputs/aar/navi-uitron-debug.aar")
}
pom.withXml {
def dependenciesNode = asNode().appendNode('dependencies')
configurations.implementation.allDependencies.each {
def dependencyNode = dependenciesNode.appendNode('dependency')
dependencyNode.appendNode('groupId', it.group)
dependencyNode.appendNode('artifactId', it.name)
dependencyNode.appendNode('version', it.version)
}
}
}
}
}