You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (project.hasProperty('bintrayUser') && project.hasProperty('bintrayKey')) {
123
-
bintray.user = project.bintrayUser
124
-
bintray.key = project.bintrayKey
125
-
}
121
+
version {
122
+
name =VERSION_NAME
123
+
vcsTag =VERSION_NAME
126
124
127
-
if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {
128
-
def sync = bintray.pkg.version.mavenCentralSync
129
-
sync.sync =true
130
-
sync.user = project.sonatypeUsername
131
-
sync.password = project.sonatypePassword
132
-
}
125
+
126
+
if (project.hasProperty('bintrayUser') && project.hasProperty('bintrayKey')) {
127
+
user = project.bintrayUser
128
+
key = project.bintrayKey
129
+
}
130
+
131
+
if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {
132
+
sync.sync =true
133
+
user = project.sonatypeUsername
134
+
password = project.sonatypePassword
135
+
close ='1'//Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
0 commit comments