diff --git a/extractor/build.gradle.kts b/extractor/build.gradle.kts index 32b8e64872..c10c9b95df 100644 --- a/extractor/build.gradle.kts +++ b/extractor/build.gradle.kts @@ -191,10 +191,7 @@ publishing { } signing { + setRequired(shouldSignCIRelease) useInMemoryPgpKeys(ciSigningKey, ciSigningPassword) sign(publishing.publications["snapshot"]) } - -tasks.withType { - onlyIf("Signing credentials are present (only used for maven central)") { shouldSignCIRelease } -}