Skip to content

Commit a9cf55a

Browse files
committed
testing release
1 parent cc5ea54 commit a9cf55a

File tree

1 file changed

+19
-14
lines changed

1 file changed

+19
-14
lines changed

build.gradle

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ subprojects {
8383
from javadoc.destinationDir
8484
}
8585

86+
tasks.bintrayUpload.dependsOn tasks.jar, tasks.sourcesJar, tasks.javadocJar
87+
8688
// add javadoc/source jar tasks as artifacts
8789
artifacts {
8890
archives sourcesJar, javadocJar, jar
@@ -114,8 +116,13 @@ subprojects {
114116
mavenJava(MavenPublication) {
115117
from components.java
116118

117-
artifact sourcesJar
118-
artifact javadocJar
119+
artifact sourcesJar {
120+
classifier "sources"
121+
}
122+
123+
artifact javadocJar {
124+
classifier "javadoc"
125+
}
119126
}
120127
}
121128
}
@@ -153,32 +160,30 @@ subprojects {
153160

154161
bintray {
155162
if (project.hasProperty('bintrayUser')) {
156-
bintray.user = project.property('bintrayUser')
157-
bintray.key = project.property('bintrayKey')
163+
user = project.property('bintrayUser')
164+
key = project.property('bintrayKey')
158165
}
159-
// configurations = ['published', 'archives']
160166
publications = ['mavenJava']
161-
publish = false
167+
dryRun = false
168+
publish = true
169+
override = false
162170
pkg {
163171
repo = 'RSocket'
164-
name = project.name
165-
// TODO
166-
dryRun = true
172+
name = 'rsocket-java'
173+
desc = 'RSocket'
167174
websiteUrl = 'https://github.com/rsocket/rsocket-java'
168175
issueTrackerUrl = 'https://github.com/rsocket/rsocket-java'
169176
vcsUrl = 'https://github.com/rsocket/rsocket-java.git'
170177
licenses = ['Apache-2.0']
178+
githubRepo = 'rsocket/rsocket-java' //Optional Github repository
179+
githubReleaseNotesFile = 'README.md' //Optional Github readme file
171180
if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {
172181
def sonatypeUsername = project.property('sonatypeUsername')
173182
def sonatypePassword = project.property('sonatypePassword')
174183
version {
175184
name = "v${project.version}"
176-
vcsTag = "v${project.version}"
177-
gpg {
178-
sign = true
179-
}
185+
vcsTag = "${project.version}"
180186
mavenCentralSync {
181-
// TODO
182187
sync = false
183188
user = sonatypeUsername
184189
password = sonatypePassword

0 commit comments

Comments
 (0)