diff --git a/convention-plugins/src/main/kotlin/convention.publication.gradle.kts b/convention-plugins/src/main/kotlin/convention.publication.gradle.kts index e79ddac39..1d2b0801e 100644 --- a/convention-plugins/src/main/kotlin/convention.publication.gradle.kts +++ b/convention-plugins/src/main/kotlin/convention.publication.gradle.kts @@ -58,7 +58,7 @@ publishing { } // Signing artifacts. Signing.* extra properties values will be used -signing { +/*signing { setRequired({ !version.toString().endsWith("-SNAPSHOT") }) useInMemoryPgpKeys(signingPrivateKey, signingPassword) sign(publishing.publications) @@ -66,7 +66,7 @@ signing { // Fix Gradle warning about signing tasks using publishing task outputs without explicit dependencies // https://github.com/gradle/gradle/issues/26091 -/*tasks.withType().configureEach { +tasks.withType().configureEach { val signingTasks = tasks.withType() mustRunAfter(signingTasks) }*/