Skip to content

Commit 71547c5

Browse files
committed
#720: adding support for the gradle-release-plugin to support SCM tagging + version increment
1 parent 3ca640b commit 71547c5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ buildscript {
2727

2828
plugins {
2929
id "com.jfrog.bintray" version "1.7.3"
30+
id "net.researchgate.release" version "2.7.0"
3031
}
3132

3233
apply plugin: 'java'
@@ -225,6 +226,10 @@ configure(subprojects.findAll { it.name != 'integration-tests' }) {
225226
}
226227
tasks.findByName('uploadArchives').mustRunAfter 'build'
227228
}
229+
230+
release {
231+
tagTemplate = 'v${version}'
232+
failOnCommitNeeded = true
228233
}
229234

230235

0 commit comments

Comments
 (0)