diff --git a/plugin/build.gradle b/plugin/build.gradle index 1ccd658..f3eff7e 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -55,9 +55,12 @@ gradlePlugin { signing { sign publishing.publications +} - // Disable signing in CI +// Disable signing tasks in CI +tasks.withType(Sign).configureEach { onlyIf { + // Skip signing if running in CI !System.getenv("CI") } }