Skip to content

Commit 5fedb1d

Browse files
author
Ryland Degnan
authored
Merge pull request #497 from nebhale/bintray-maven-central
Upload to Bintray and Maven Central
2 parents 325f07f + ea915e9 commit 5fedb1d

File tree

2 files changed

+51
-36
lines changed

2 files changed

+51
-36
lines changed

bintray.gradle

Lines changed: 33 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -17,45 +17,42 @@
1717
if (project.hasProperty('bintrayUser') && project.hasProperty('bintrayKey') &&
1818
project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {
1919

20-
bintray {
21-
user = project.property('bintrayUser')
22-
key = project.property('bintrayKey')
23-
24-
publish = true
25-
26-
pkg {
27-
repo = 'RSocket'
28-
name = 'rsocket-java'
29-
licenses = ['Apache-2.0']
30-
31-
issueTrackerUrl = 'https://github.com/rsocket/rsocket-java/issues'
32-
websiteUrl = 'https://github.com/rsocket/rsocket-java'
33-
vcsUrl = 'https://github.com/rsocket/rsocket-java.git'
34-
35-
githubRepo = 'rsocket/rsocket-java' //Optional Github repository
36-
githubReleaseNotesFile = 'README.md' //Optional Github readme file
37-
38-
version {
39-
name = project.version
40-
released = new Date()
41-
vcsTag = project.version
42-
43-
gpg {
44-
sign = true
45-
}
46-
47-
mavenCentralSync {
48-
user = project.property('sonatypeUsername')
49-
password = project.property('sonatypePassword')
50-
}
51-
}
52-
}
53-
}
54-
5520
subprojects {
5621
plugins.withId('com.jfrog.bintray') {
5722
bintray {
58-
publications('maven')
23+
user = project.property('bintrayUser')
24+
key = project.property('bintrayKey')
25+
26+
publications = ['maven']
27+
publish = true
28+
29+
pkg {
30+
repo = 'RSocket'
31+
name = 'rsocket-java'
32+
licenses = ['Apache-2.0']
33+
34+
issueTrackerUrl = 'https://github.com/rsocket/rsocket-java/issues'
35+
websiteUrl = 'https://github.com/rsocket/rsocket-java'
36+
vcsUrl = 'https://github.com/rsocket/rsocket-java.git'
37+
38+
githubRepo = 'rsocket/rsocket-java' //Optional Github repository
39+
githubReleaseNotesFile = 'README.md' //Optional Github readme file
40+
41+
version {
42+
name = project.version
43+
released = new Date()
44+
vcsTag = project.version
45+
46+
gpg {
47+
sign = true
48+
}
49+
50+
mavenCentralSync {
51+
user = project.property('sonatypeUsername')
52+
password = project.property('sonatypePassword')
53+
}
54+
}
55+
}
5956
}
6057
}
6158
}

build.gradle

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,24 @@ subprojects {
130130
}
131131
}
132132

133+
developers {
134+
developer {
135+
id 'robertroeser'
136+
name 'Robert Roeser'
137+
138+
}
139+
developer {
140+
id 'rdegnan'
141+
name 'Ryland Degnan'
142+
143+
}
144+
developer {
145+
id 'yschimke'
146+
name 'Yuri Schimke'
147+
148+
}
149+
}
150+
133151
scm {
134152
connection 'scm:git:https://github.com/rsocket/rsocket-java.git'
135153
developerConnection 'scm:git:https://github.com/rsocket/rsocket-java.git'

0 commit comments

Comments
 (0)