Skip to content

Commit

Permalink
remove release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
farrell-m committed May 22, 2024
1 parent c669fef commit c566cd1
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
3 changes: 0 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 0 additions & 1 deletion laa-ccms-java-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ repositories {
}

dependencies {
implementation "net.researchgate:gradle-release:${gradleReleasePluginVersion}"
implementation "com.github.ben-manes:gradle-versions-plugin:${gradleVersionsPluginVersion}"
}

Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -26,10 +25,6 @@ class LaaCcmsJavaGradlePlugin implements Plugin<Project> {
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))
}
Expand Down Expand Up @@ -175,10 +170,6 @@ class LaaCcmsJavaGradlePlugin implements Plugin<Project> {
}
}

target.release {
tagTemplate = '$name-$version'
}

// Used for deploying snapshot packages
if (target.rootProject.tasks.findByName('updateSnapshotVersion') == null) {
target.rootProject.tasks.register("updateSnapshotVersion") {
Expand Down

0 comments on commit c566cd1

Please sign in to comment.