From c566cd184480568651beccd6d16471bc9d27dc9a Mon Sep 17 00:00:00 2001 From: farrell-m Date: Wed, 22 May 2024 11:50:02 +0100 Subject: [PATCH] remove release plugin --- gradle.properties | 3 --- laa-ccms-java-gradle-plugin/build.gradle | 1 - .../gov/laa/ccms/gradle/LaaCcmsJavaGradlePlugin.groovy | 9 --------- 3 files changed, 13 deletions(-) diff --git a/gradle.properties b/gradle.properties index 4b6f928..9d15ad9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,9 +7,6 @@ springBootVersion = 3.2.5 # io.spring.gradle:dependency-management-plugin springBootDependencyManagementPluginVersion = 1.1.5 -# net.researchgate:gradle-release -gradleReleasePluginVersion = 3.0.2 - # com.github.ben-manes:gradle-versions-plugin gradleVersionsPluginVersion = 0.51.0 diff --git a/laa-ccms-java-gradle-plugin/build.gradle b/laa-ccms-java-gradle-plugin/build.gradle index b4202bf..262f189 100644 --- a/laa-ccms-java-gradle-plugin/build.gradle +++ b/laa-ccms-java-gradle-plugin/build.gradle @@ -11,7 +11,6 @@ repositories { } dependencies { - implementation "net.researchgate:gradle-release:${gradleReleasePluginVersion}" implementation "com.github.ben-manes:gradle-versions-plugin:${gradleVersionsPluginVersion}" } diff --git a/laa-ccms-java-gradle-plugin/src/main/groovy/uk/gov/laa/ccms/gradle/LaaCcmsJavaGradlePlugin.groovy b/laa-ccms-java-gradle-plugin/src/main/groovy/uk/gov/laa/ccms/gradle/LaaCcmsJavaGradlePlugin.groovy index 5ad9369..e5fbd07 100644 --- a/laa-ccms-java-gradle-plugin/src/main/groovy/uk/gov/laa/ccms/gradle/LaaCcmsJavaGradlePlugin.groovy +++ b/laa-ccms-java-gradle-plugin/src/main/groovy/uk/gov/laa/ccms/gradle/LaaCcmsJavaGradlePlugin.groovy @@ -1,7 +1,6 @@ package uk.gov.laa.ccms.gradle import com.github.benmanes.gradle.versions.VersionsPlugin -import net.researchgate.release.ReleasePlugin import org.gradle.api.Plugin import org.gradle.api.Project import org.gradle.api.plugins.JavaPlugin @@ -26,10 +25,6 @@ class LaaCcmsJavaGradlePlugin implements Plugin { target.pluginManager.apply CheckstylePlugin target.pluginManager.apply MavenPublishPlugin - if (!target.rootProject.pluginManager.hasPlugin('gradle-release')) { - target.rootProject.pluginManager.apply ReleasePlugin - } - target.java { toolchain.languageVersion.set(JavaLanguageVersion.of(JAVA_VERSION)) } @@ -175,10 +170,6 @@ class LaaCcmsJavaGradlePlugin implements Plugin { } } - target.release { - tagTemplate = '$name-$version' - } - // Used for deploying snapshot packages if (target.rootProject.tasks.findByName('updateSnapshotVersion') == null) { target.rootProject.tasks.register("updateSnapshotVersion") {