Skip to content

Commit

Permalink
Merge pull request #497 from nebhale/bintray-maven-central
Browse files Browse the repository at this point in the history
Upload to Bintray and Maven Central
  • Loading branch information
Ryland Degnan authored May 9, 2018
2 parents 325f07f + ea915e9 commit 5fedb1d
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 36 deletions.
69 changes: 33 additions & 36 deletions bintray.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,45 +17,42 @@
if (project.hasProperty('bintrayUser') && project.hasProperty('bintrayKey') &&
project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {

bintray {
user = project.property('bintrayUser')
key = project.property('bintrayKey')

publish = true

pkg {
repo = 'RSocket'
name = 'rsocket-java'
licenses = ['Apache-2.0']

issueTrackerUrl = 'https://github.com/rsocket/rsocket-java/issues'
websiteUrl = 'https://github.com/rsocket/rsocket-java'
vcsUrl = 'https://github.com/rsocket/rsocket-java.git'

githubRepo = 'rsocket/rsocket-java' //Optional Github repository
githubReleaseNotesFile = 'README.md' //Optional Github readme file

version {
name = project.version
released = new Date()
vcsTag = project.version

gpg {
sign = true
}

mavenCentralSync {
user = project.property('sonatypeUsername')
password = project.property('sonatypePassword')
}
}
}
}

subprojects {
plugins.withId('com.jfrog.bintray') {
bintray {
publications('maven')
user = project.property('bintrayUser')
key = project.property('bintrayKey')

publications = ['maven']
publish = true

pkg {
repo = 'RSocket'
name = 'rsocket-java'
licenses = ['Apache-2.0']

issueTrackerUrl = 'https://github.com/rsocket/rsocket-java/issues'
websiteUrl = 'https://github.com/rsocket/rsocket-java'
vcsUrl = 'https://github.com/rsocket/rsocket-java.git'

githubRepo = 'rsocket/rsocket-java' //Optional Github repository
githubReleaseNotesFile = 'README.md' //Optional Github readme file

version {
name = project.version
released = new Date()
vcsTag = project.version

gpg {
sign = true
}

mavenCentralSync {
user = project.property('sonatypeUsername')
password = project.property('sonatypePassword')
}
}
}
}
}
}
Expand Down
18 changes: 18 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,24 @@ subprojects {
}
}

developers {
developer {
id 'robertroeser'
name 'Robert Roeser'
email '[email protected]'
}
developer {
id 'rdegnan'
name 'Ryland Degnan'
email '[email protected]'
}
developer {
id 'yschimke'
name 'Yuri Schimke'
email '[email protected]'
}
}

scm {
connection 'scm:git:https://github.com/rsocket/rsocket-java.git'
developerConnection 'scm:git:https://github.com/rsocket/rsocket-java.git'
Expand Down

0 comments on commit 5fedb1d

Please sign in to comment.