Skip to content

Commit 6076f23

Browse files
committed
Move osgi plugin application to the conventions script.
1 parent 5cdea30 commit 6076f23

File tree

13 files changed

+6
-19
lines changed

13 files changed

+6
-19
lines changed

gradle/convention.gradle

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,13 @@
22
status = project.hasProperty('preferredStatus') ? project.preferredStatus : (version.contains('SNAPSHOT') ? 'snapshot' : 'release')
33

44
subprojects { project ->
5+
if (!subprojects.empty) { // is a container
6+
return
7+
}
8+
59
description = name.capitalize().replaceAll("-\\w") { " " + (it.toUpperCase() - "-") }.replaceAll("Rxjava", "RxJava")
610

7-
apply plugin: 'java' // Plugin as major conventions
11+
apply plugin: 'java'
812

913
sourceCompatibility = JavaVersion.VERSION_1_6
1014
targetCompatibility = JavaVersion.VERSION_1_6

language-adaptors/rxjava-clojure/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ buildscript {
44
}
55

66
apply plugin: 'clojure'
7-
apply plugin: 'osgi'
87

98
repositories {
109
clojarsRepo()

language-adaptors/rxjava-groovy/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
apply plugin: 'groovy'
2-
apply plugin: 'osgi'
32

43
dependencies {
54
compile project(':rxjava-core')

language-adaptors/rxjava-jruby/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
apply plugin: 'osgi'
2-
31
repositories {
42
maven {
53
url 'http://deux.gemjars.org'

language-adaptors/rxjava-kotlin/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ buildscript {
99
}
1010

1111
apply plugin: 'kotlin'
12-
apply plugin: 'osgi'
1312

1413
dependencies {
1514
compile project(':rxjava-core')

language-adaptors/rxjava-scala/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
apply plugin: 'scala'
2-
apply plugin: 'osgi'
32

43
tasks.withType(ScalaCompile) {
54
scalaCompileOptions.fork = true

rxjava-contrib/rxjava-android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apply plugin: 'osgi'
1+
22

33
dependencies {
44
compile project(':rxjava-core')

rxjava-contrib/rxjava-apache-http/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
apply plugin: 'osgi'
2-
31
dependencies {
42
compile project(':rxjava-core')
53
compile 'org.apache.httpcomponents:httpclient:4.3'

rxjava-contrib/rxjava-async-util/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
apply plugin: 'osgi'
2-
31
dependencies {
42
compile project(':rxjava-core')
53
testCompile project(":rxjava-core").sourceSets.test.output

rxjava-contrib/rxjava-computation-expressions/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
apply plugin: 'osgi'
2-
31
dependencies {
42
compile project(':rxjava-core')
53
testCompile 'junit:junit-dep:4.10'

rxjava-contrib/rxjava-string/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
apply plugin: 'osgi'
2-
31
dependencies {
42
compile project(':rxjava-core')
53
testCompile project(":rxjava-core").sourceSets.test.output

rxjava-contrib/rxjava-swing/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
apply plugin: 'osgi'
2-
31
dependencies {
42
compile project(':rxjava-core')
53
provided 'junit:junit-dep:4.10'

rxjava-core/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
apply plugin: 'maven'
2-
apply plugin: 'osgi'
32

43
dependencies {
54
provided 'junit:junit-dep:4.10'

0 commit comments

Comments
 (0)