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: "publish.gradle"
apply from: "dokka.gradle" apply from: "dokka.gradle"
def publishTasks = tasks.findAll { it.name.containsIgnoreCase("publish") } //def publishTasks = tasks.findAll { it.name.containsIgnoreCase("publish") }
def signTasks = tasks.findAll { it.name.containsIgnoreCase("sign") } //def signTasks = tasks.findAll { it.name.containsIgnoreCase("sign") }
publishTasks.forEach { task -> //publishTasks.forEach { task ->
signTasks.forEach { // signTasks.forEach {
task.dependsOn(it) // task.dependsOn(it)
} // }
} //}

View File

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