diff --git a/build.gradle b/build.gradle index 6249336..14011fd 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ -plugins { - id 'io.github.gradle-nexus.publish-plugin' +if(!project.projectVersion.endsWith('-SNAPSHOT')) { + apply plugin: "io.github.gradle-nexus.publish-plugin" } allprojects {