Skip to content

Commit 8d1ca59

Browse files
committed
try templating off RxAndroid
1 parent 40add28 commit 8d1ca59

1 file changed

Lines changed: 1 addition & 105 deletions

File tree

build.gradle

Lines changed: 1 addition & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ buildscript {
1717
group = "io.reactivex.rxjava2"
1818
ext.githubProjectName = "RxJavaFX"
1919

20-
version = "2.11.0-RC10"
20+
version = "2.11.0-RC11"
2121

2222
/*
2323
def releaseTag = System.getenv("TRAVIS_TAG");
@@ -73,110 +73,6 @@ task sourcesJar(type: Jar, dependsOn: classes) {
7373
from sourceSets.main.allSource
7474
}
7575

76-
publishing {
77-
publications {
78-
mavenJava(MavenPublication) {
79-
from components.java
80-
//artifact sourcesJar
81-
82-
pom {
83-
name = "RxJavaFX"
84-
description = "RxJava Extensions for JavaFX"
85-
url = "https://github.com/ReactiveX/RxJavaFX"
86-
licenses {
87-
license {
88-
name = "The Apache Software License, Version 2.0"
89-
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
90-
distribution = "repo"
91-
}
92-
}
93-
developers {
94-
developer {
95-
id = "thomasnield"
96-
name = "Thomas Nield"
97-
email = "thomasnield@live.com"
98-
}
99-
}
100-
scm {
101-
connection = "scm:git:git@github.com:ReactiveX/RxJavaFX.git"
102-
developerConnection = "scm:git:git@github.com:ReactiveX/RxJavaFX.git"
103-
url = "scm:git:git@github.com:ReactiveX/RxJavaFX.git"
104-
}
105-
issueManagement {
106-
system = "github"
107-
url = "https://github.com/ReactiveX/RxJavaFX/issues"
108-
}
109-
}
110-
}
111-
}
112-
}
113-
114-
115-
if (rootProject.hasProperty("releaseMode")) {
116-
117-
if ("branch".equals(rootProject.releaseMode)) {
118-
// From https://github.com/ReactiveX/RxAndroid/blob/2.x/rxandroid/build.gradle#L94
119-
120-
println("ReleaseMode: " + rootProject.releaseMode);
121-
artifactory {
122-
contextUrl = "https://oss.jfrog.org"
123-
124-
publish {
125-
repository {
126-
repoKey = "oss-snapshot-local"
127-
128-
username = rootProject.bintrayUser
129-
password = rootProject.bintrayKey
130-
}
131-
132-
defaults {
133-
publications = ["mavenJava"]
134-
}
135-
}
136-
}
137-
138-
build.finalizedBy(artifactoryPublish)
139-
}
140-
141-
if ("full".equals(rootProject.releaseMode)) {
142-
// based on https://github.com/bintray/gradle-bintray-plugin
143-
144-
println("ReleaseMode: " + rootProject.releaseMode + " version " + version);
145-
146-
bintray {
147-
user = rootProject.bintrayUser
148-
key = rootProject.bintrayKey
149-
publications = ["mavenJava"]
150-
publish = true
151-
pkg {
152-
repo = "RxJavaFX"
153-
name = "RxJavaFX"
154-
userOrg = "reactivex"
155-
labels = ["rxjava", "reactivex"]
156-
licenses = ["Apache-2.0"]
157-
vcsUrl = "https://github.com/ReactiveX/RxJavaFX.git"
158-
version {
159-
name = version
160-
gpg {
161-
sign = true
162-
}
163-
mavenCentralSync {
164-
sync = true
165-
user = rootProject.sonatypeUsername
166-
password = rootProject.sonatypePassword
167-
close = "1"
168-
}
169-
}
170-
}
171-
}
172-
173-
build.finalizedBy(bintrayUpload)
174-
}
175-
}
176-
177-
178-
179-
18076

18177
bintray {
18278
configurations = ['archives']

0 commit comments

Comments
 (0)