Skip to content

Commit f72f698

Browse files
committed
add release plugin
1 parent 84376ce commit f72f698

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

build.gradle

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1+
plugins {
2+
id 'net.researchgate.release' version '2.8.1'
3+
}
4+
15
version project.version
26
apply plugin: 'java'
7+
8+
release {
9+
// Disable check snapshots temporarily
10+
failOnSnapshotDependencies = false
11+
failOnCommitNeeded = false
12+
tagTemplate = 'release_${version}'
13+
buildTasks = ['build']
14+
git {
15+
// To release from any branch
16+
requireBranch = null
17+
}
18+
}

0 commit comments

Comments
 (0)