diff --git a/build.gradle b/build.gradle index 743f904c..4f037875 100644 --- a/build.gradle +++ b/build.gradle @@ -226,3 +226,7 @@ publishing { signing { sign publishing.publications.mavenJava } + +tasks.withType(Sign) { + onlyIf { !project.version.endsWith('SNAPSHOT') } +}