diff --git a/build.gradle b/build.gradle index e402b65..9c67553 100644 --- a/build.gradle +++ b/build.gradle @@ -21,7 +21,7 @@ plugins { id("java-library") id("maven-publish") id("org.jetbrains.kotlin.jvm") version "1.6.10" - id("net.researchgate.release") version "2.8.1" + id("net.researchgate.release") version "3.0.0" id("org.sonarqube") version "3.4.0.2513" id("jacoco") id("com.adarshr.test-logger") version "3.2.0" @@ -79,6 +79,9 @@ dependencies { release { newVersionCommitMessage = "[Release Plugin] - next version commit: " tagTemplate = "release-\${version}" + git { + requireBranch.set('master') + } } // https://docs.gradle.org/current/userguide/jacoco_plugin.html