Skip to content

Commit fa02c3e

Browse files
committed
try templating off RxAndroid
1 parent 554af27 commit fa02c3e

2 files changed

Lines changed: 35 additions & 26 deletions

File tree

build.gradle

Lines changed: 34 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -72,36 +72,45 @@ publishing {
7272
}
7373

7474

75-
install {
76-
repositories.mavenInstaller.pom.project {
77-
name POM_NAME
78-
description POM_DESCRIPTION
79-
packaging POM_PACKAGING
80-
url POM_URL
81-
82-
licenses {
83-
license {
84-
name POM_LICENCE_NAME
85-
url POM_LICENCE_URL
86-
distribution POM_LICENCE_DIST
87-
}
88-
}
89-
90-
scm {
91-
url POM_SCM_URL
92-
connection POM_SCM_CONNECTION
93-
developerConnection POM_SCM_DEV_CONNECTION
94-
}
95-
96-
developers {
97-
developer {
98-
id 'thomasnield'
99-
name 'Thomas Nield'
75+
publishing {
76+
publications {
77+
mavenJava(MavenPublication) {
78+
from components.java
79+
//artifact sourcesJar
80+
81+
pom {
82+
name = POM_NAME
83+
description = POM_DESCRIPTION
84+
url = POM_URL
85+
licenses {
86+
license {
87+
name = POM_LICENCE_NAME
88+
url = POM_SCM_URL
89+
distribution = POM_LICENCE_DIST
90+
}
91+
}
92+
developers {
93+
developer {
94+
id = "thomasnield"
95+
name = "Thomas Nield"
96+
email = "thomasnield@live.com"
97+
}
98+
}
99+
scm {
100+
connection = POM_SCM_CONNECTION
101+
developerConnection = POM_SCM_DEV_CONNECTION
102+
url = "scm:git:git@github.com:ReactiveX/RxJavaFX.git"
103+
}
104+
issueManagement {
105+
system = "github"
106+
url = "https://github.com/ReactiveX/RxJavaFX/issues"
107+
}
100108
}
101109
}
102110
}
103111
}
104112

113+
105114
bintray {
106115
configurations = ['archives']
107116

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-RC13
2+
VERSION_NAME=2.11.0-RC14
33
POM_NAME=RxJavaFX
44
POM_PACKAGING=jar
55
POM_DESCRIPTION=RxJavaFX

0 commit comments

Comments
 (0)