Skip to content

Commit

Permalink
add release plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nadeeshaan committed Nov 24, 2021
1 parent 84376ce commit f72f698
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
plugins {
id 'net.researchgate.release' version '2.8.1'
}

version project.version
apply plugin: 'java'

release {
// Disable check snapshots temporarily
failOnSnapshotDependencies = false
failOnCommitNeeded = false
tagTemplate = 'release_${version}'
buildTasks = ['build']
git {
// To release from any branch
requireBranch = null
}
}

0 comments on commit f72f698

Please sign in to comment.