Skip to content

Commit 9c112dc

Browse files
committed
check bintray release
1 parent cc1d1ac commit 9c112dc

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ release {
4747
tagTemplate = 'v${version}'
4848
failOnPublishNeeded = false
4949
failOnCommitNeeded = false
50+
git {
51+
pushToCurrentBranch = true
52+
requireBranch = 'bintray-release'
53+
}
5054
}
5155

5256
jar {
@@ -169,8 +173,11 @@ bintray {
169173
version {
170174
name = project.version
171175
released = new Date()
176+
gpg {
177+
sign = true
178+
}
172179
mavenCentralSync {
173-
sync = true //[Default: true] Determines whether to sync the version to Maven Central.
180+
sync = false //[Default: true] Determines whether to sync the version to Maven Central.
174181
user = System.getenv('OSS_USER') ?: project.findProperty('OSS_USER') ?: ''
175182
password = System.getenv('OSS_PASS') ?: project.findProperty('OSS_PASS') ?: ''
176183
close = '1'

0 commit comments

Comments
 (0)