second try to fix publish issues

This commit is contained in:
InsanusMokrassar 2023-10-23 02:12:38 +06:00
parent b4c454141e
commit f326d9070a
2 changed files with 14 additions and 7 deletions

View File

@ -90,10 +90,10 @@ apply from: "github_release.gradle"
apply from: "publish.gradle"
apply from: "dokka.gradle"
def publishTasks = tasks.findAll { it.name.containsIgnoreCase("publish") }
def signTasks = tasks.findAll { it.name.containsIgnoreCase("sign") }
publishTasks.forEach { task ->
signTasks.forEach {
task.dependsOn(it)
}
}
//def publishTasks = tasks.findAll { it.name.containsIgnoreCase("publish") }
//def signTasks = tasks.findAll { it.name.containsIgnoreCase("sign") }
//publishTasks.forEach { task ->
// signTasks.forEach {
// task.dependsOn(it)
// }
//}

View File

@ -44,6 +44,13 @@ android {
debuggable true
}
}
publishing {
multipleVariants {
allVariants()
withSourcesJar()
withJavadocJar()
}
}
packagingOptions {
exclude 'META-INF/kotlinx-serialization-runtime.kotlin_module'