TP-85075 | add sources jar to maven snapshot (#569)
This commit is contained in:
committed by
GitHub
parent
bfc8b883e6
commit
c0c61d6f7e
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user