Skip to content

Commit f294a6b

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

2 files changed

Lines changed: 43 additions & 24 deletions

File tree

build.gradle

Lines changed: 29 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,6 @@ buildscript {
1313
}
1414
}
1515

16-
17-
group = "io.reactivex.rxjava2"
18-
ext.githubProjectName = "RxJavaFX"
19-
20-
version = "2.11.0-RC11"
21-
22-
/*
23-
def releaseTag = System.getenv("TRAVIS_TAG");
24-
if (releaseTag != null && !releaseTag.isEmpty()) {
25-
if (releaseTag.startsWith("v")) {
26-
releaseTag = releaseTag.substring(1);
27-
}
28-
version = releaseTag;
29-
project.properties.put("release.version", releaseTag);
30-
31-
println("Releasing with version " + version);
32-
}
33-
*/
34-
3516
apply plugin: "java-library"
3617
apply plugin: "java"
3718
apply plugin: "maven-publish"
@@ -67,12 +48,37 @@ dependencies {
6748
}
6849

6950

51+
apply from: "$rootDir/gradle/artifacts.gradle"
7052

71-
task sourcesJar(type: Jar, dependsOn: classes) {
72-
classifier = "sources"
73-
from sourceSets.main.allSource
74-
}
53+
install {
54+
repositories.mavenInstaller.pom.project {
55+
name POM_NAME
56+
description POM_DESCRIPTION
57+
packaging POM_PACKAGING
58+
url POM_URL
7559

60+
licenses {
61+
license {
62+
name POM_LICENCE_NAME
63+
url POM_LICENCE_URL
64+
distribution POM_LICENCE_DIST
65+
}
66+
}
67+
68+
scm {
69+
url POM_SCM_URL
70+
connection POM_SCM_CONNECTION
71+
developerConnection POM_SCM_DEV_CONNECTION
72+
}
73+
74+
developers {
75+
developer {
76+
id 'thomasnield'
77+
name 'Thomas Nield'
78+
}
79+
}
80+
}
81+
}
7682

7783
bintray {
7884
configurations = ['archives']

gradle.properties

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1-
version=2.11.0-RC1
1+
GROUP=io.reactivex.rxjava2
2+
VERSION_NAME=2.11.0-RC12
3+
POM_NAME=RxJavaFX
4+
POM_PACKAGING=jar
5+
POM_DESCRIPTION=RxJavaFX
6+
7+
POM_URL=https://github.com/ReactiveX/RxJavaFX
8+
POM_SCM_URL=https://github.com/ReactiveX/RxJavaFX
9+
POM_SCM_CONNECTION=scm:git:https://github.com/ReactiveX/RxJavaFX.git
10+
POM_SCM_DEV_CONNECTION=scm:git:git@github.com:ReactiveX/RxJavaFX.git
11+
12+
POM_LICENCE_NAME=The Apache Software License, Version 2.0
13+
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
14+
POM_LICENCE_DIST=repo

0 commit comments

Comments
 (0)