TP-85075 | add sources jar to maven snapshot (#569)

This commit is contained in:
Soumya Ranjan Patra
2024-09-23 15:22:52 +05:30
committed by GitHub
parent bfc8b883e6
commit c0c61d6f7e

View File

@@ -42,6 +42,18 @@ android {
}
}
sourceSets {
main {
java {
srcDirs = ['src/main/java', 'src/main/kotlin']
}
}
}
java {
withSourcesJar()
}
publishing {
repositories {
if (project.hasProperty('NEXUS_URL')
@@ -69,6 +81,8 @@ publishing {
artifact("build/outputs/aar/navi-uitron-${BUILD_TYPE}.aar")
artifact sourcesJar
pom.withXml {
def dependenciesNode = asNode().appendNode('dependencies')
configurations.implementation.allDependencies.each {