We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 131f27e commit 29a4f88Copy full SHA for 29a4f88
build.gradle
@@ -6,7 +6,7 @@ buildscript {
6
classpath 'org.jfrog.buildinfo:build-info-extractor-gradle:3.1.0'
7
classpath 'nu.studer:gradle-plugindev-plugin:1.0.3'
8
classpath 'org.codehaus.groovy:groovy-backports-compat23:2.4.3'
9
- classpath 'net.researchgate:gradle-release:2.1.2'
+ classpath 'net.researchgate:gradle-release:2.2.1'
10
}
11
12
@@ -37,6 +37,13 @@ plugindev {
37
done() // do not omit this
38
39
40
+release {
41
+ git {
42
+ requireBranch = '(master|\\d+\\.\\d+)'
43
+ pushToCurrentBranch = true
44
+ }
45
+}
46
+
47
bintray {
48
user = project.hasProperty('bintrayUser') ? bintrayUser : ''
49
key = project.hasProperty('bintrayApiKey') ? bintrayApiKey : ''
0 commit comments