Build: Use maven-publish in configurePublishing helper

This commit is contained in:
Vyacheslav Gerasimov
2020-04-26 15:47:27 +03:00
parent 94b4f4a91a
commit 8737168d41
16 changed files with 26 additions and 61 deletions
+1 -14
View File
@@ -62,20 +62,7 @@ jar {
manifestAttributes(manifest, project, 'Main')
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.kotlin
}
configurations {
sources
}
artifacts {
archives sourcesJar
sources sourcesJar
}
configureSourcesJar()
configureJavadocJar()
classes.setDependsOn(classes.dependsOn.findAll { it != "compileJava" })