Skip to content

Commit 4cd7881

Browse files
committed
Add auto-syncing to Maven Central
1 parent 08343a5 commit 4cd7881

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Parse/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ bintray {
232232

233233
publications = ["MyPublication"]
234234

235+
publish = true
235236
pkg {
236237
repo = 'maven'
237238
name = 'com.parse:parse-android'
@@ -243,6 +244,14 @@ bintray {
243244
desc = projDescription
244245
released = new Date()
245246
vcsTag = project.version
247+
248+
// Sonatype username/passwrod must be set for this operation to happen
249+
mavenCentralSync {
250+
sync = true
251+
user = ossrhUsername
252+
password = ossrhPassword
253+
close = '1' // release automatically
254+
}
246255
}
247256
}
248257
}

0 commit comments

Comments
 (0)