Skip to content

Commit

Permalink
Configure automatic sync to maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Mar 28, 2018
1 parent 44db168 commit 6b6135e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions gradle/publishing.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ publishing {

if (!project.hasProperty('bintrayUsername')) ext.bintrayUsername = ''
if (!project.hasProperty('bintrayApiKey')) ext.bintrayApiKey = ''
if (!project.hasProperty('mavenUsername')) ext.mavenUsername = ''
if (!project.hasProperty('mavenPassword')) ext.mavenPassword = ''

bintray {
user = project.bintrayUsername
Expand All @@ -109,5 +111,15 @@ bintray {
issueTrackerUrl = project.project_issues
vcsUrl = project.project_scm
publicDownloadNumbers = true
githubRepo = 'aalmiray/bootstrapfx'
version {
name = project.version
vcsTag = "${project.name}-${project.version}"
mavenCentralSync {
sync = true
user = project.mavenUsername
password = project.mavenPassword
}
}
}
}

0 comments on commit 6b6135e

Please sign in to comment.