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 { diff --git a/gradle.properties b/gradle.properties index 89a4cb9..4c2f124 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -projectVersion=5.0.0-SNAPSHOT +projectVersion=5.0.0-M1 # Grails grailsVersion=7.0.0-M1