diff --git a/build.gradle b/build.gradle index 437f39a..9dc77fc 100644 --- a/build.gradle +++ b/build.gradle @@ -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) +// } +//} diff --git a/defaultAndroidSettings.gradle b/defaultAndroidSettings.gradle index 33f1969..5d1f1b3 100644 --- a/defaultAndroidSettings.gradle +++ b/defaultAndroidSettings.gradle @@ -44,6 +44,13 @@ android { debuggable true } } + publishing { + multipleVariants { + allVariants() + withSourcesJar() + withJavadocJar() + } + } packagingOptions { exclude 'META-INF/kotlinx-serialization-runtime.kotlin_module'