Skip to content

Commit 9be230e

Browse files
committed
try templating off RxAndroid
1 parent 2795aa6 commit 9be230e

2 files changed

Lines changed: 18 additions & 12 deletions

File tree

build.gradle

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -117,16 +117,22 @@ bintray {
117117
issueTrackerUrl = 'https://github.com/ReactiveX/RxJavaFX/issues'
118118
vcsUrl = "https://github.com/ReactiveX/RxJavaFX.git"
119119
}
120-
}
121120

122-
if (project.hasProperty('bintrayUser') && project.hasProperty('bintrayKey')) {
123-
bintray.user = project.bintrayUser
124-
bintray.key = project.bintrayKey
125-
}
121+
version {
122+
name = VERSION_NAME
123+
vcsTag = VERSION_NAME
126124

127-
if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {
128-
def sync = bintray.pkg.version.mavenCentralSync
129-
sync.sync = true
130-
sync.user = project.sonatypeUsername
131-
sync.password = project.sonatypePassword
132-
}
125+
126+
if (project.hasProperty('bintrayUser') && project.hasProperty('bintrayKey')) {
127+
user = project.bintrayUser
128+
key = project.bintrayKey
129+
}
130+
131+
if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {
132+
sync.sync = true
133+
user = project.sonatypeUsername
134+
password = project.sonatypePassword
135+
close = '1' //Optional property. By default the staging repository is closed and artifacts are released to Maven Central. You can optionally turn this behaviour off (by puting 0 as value) and release the version manually.
136+
}
137+
}
138+
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=io.reactivex.rxjava2
2-
VERSION_NAME=2.11.0-RC18
2+
VERSION_NAME=2.11.0-RC19
33
POM_NAME=RxJavaFX
44
POM_PACKAGING=jar
55
POM_DESCRIPTION=RxJavaFX

0 commit comments

Comments
 (0)