Skip to content

Commit 3fff46f

Browse files
committed
Remove build provided references (except for rxjava-android)
1 parent 384eecc commit 3fff46f

File tree

16 files changed

+36
-40
lines changed

16 files changed

+36
-40
lines changed

language-adaptors/rxjava-clojure/build.gradle

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ dependencies {
77
// clojure
88
compile 'org.clojure:clojure:1.4.+'
99

10-
// this should be 'compile' for the 'examples' module ... can't figure that out right now so making 'provided'
11-
provided 'clj-http:clj-http:0.6.4' // https://clojars.org/clj-http
10+
// this should be 'compile' for the 'examples' module
11+
testCompile 'clj-http:clj-http:0.6.4' // https://clojars.org/clj-http
1212
}
1313

14-
tasks.compileExamplesClojure.classpath = files(tasks.compileClojure.destinationDir) + tasks.compileClojure.classpath
14+
tasks.compileExamplesClojure.classpath = files(tasks.compileClojure.destinationDir) + tasks.compileClojure.classpath + configurations.testCompile
1515

1616
/*
1717
* Clojure
@@ -29,7 +29,7 @@ repositories {
2929
}
3030

3131
/*
32-
* Add Counterclockwise and include 'provided' dependencies
32+
* Add Counterclockwise and include 'testCompile' dependencies
3333
*/
3434
eclipse {
3535
project {
@@ -38,7 +38,7 @@ eclipse {
3838
}
3939

4040
tasks.clojureTest {
41-
classpath = classpath + configurations.provided
41+
classpath = classpath + configurations.testCompile
4242
}
4343

4444
jar {

language-adaptors/rxjava-groovy/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ apply plugin: 'osgi'
44
dependencies {
55
compile project(':rxjava-core')
66
compile 'org.codehaus.groovy:groovy-all:2.+'
7-
provided 'junit:junit-dep:4.10'
8-
provided 'org.mockito:mockito-core:1.8.5'
7+
testCompile 'junit:junit-dep:4.10'
8+
testCompile 'org.mockito:mockito-core:1.8.5'
99
}
1010

1111
jar {
@@ -16,4 +16,4 @@ jar {
1616
instruction 'Import-Package', '!org.junit,!junit.framework,!org.mockito.*,*'
1717
instruction 'Fragment-Host', 'com.netflix.rxjava.core'
1818
}
19-
}
19+
}

language-adaptors/rxjava-jruby/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ sourceSets {
2222
dependencies {
2323
compile project(':rxjava-core')
2424
compile 'org.jruby:jruby:1.7+'
25-
provided 'junit:junit-dep:4.10'
26-
provided 'org.mockito:mockito-core:1.8.5'
25+
testCompile 'junit:junit-dep:4.10'
26+
testCompile 'org.mockito:mockito-core:1.8.5'
2727
rspec 'org.jruby:jruby-complete:1.7.4'
2828
rspec 'org.rubygems:rspec:2.14.1'
2929
}

language-adaptors/rxjava-kotlin/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ apply plugin: 'osgi'
1414
dependencies {
1515
compile project(':rxjava-core')
1616
compile 'org.jetbrains.kotlin:kotlin-stdlib:0.8.11'
17-
provided 'junit:junit-dep:4.10'
18-
provided 'org.mockito:mockito-core:1.8.5'
17+
testCompile 'junit:junit-dep:4.10'
18+
testCompile 'org.mockito:mockito-core:1.8.5'
1919
}
2020

2121
jar {
@@ -26,4 +26,4 @@ jar {
2626
instruction 'Import-Package', '!org.junit,!junit.framework,!org.mockito.*,*'
2727
instruction 'Fragment-Host', 'com.netflix.rxjava.core'
2828
}
29-
}
29+
}

language-adaptors/rxjava-scala/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ tasks.compileExamplesScala {
6666
task test(overwrite: true, dependsOn: testClasses) << {
6767
ant.taskdef(name: 'scalatest',
6868
classname: 'org.scalatest.tools.ScalaTestAntTask',
69-
classpath: configurations.provided.asPath + ':' + configurations.testRuntime.asPath + ":" + compileScala.destinationDir
69+
classpath: configurations.testCompile.asPath + ':' + configurations.testRuntime.asPath + ":" + compileScala.destinationDir
7070
)
7171
ant.scalatest(runpath: sourceSets.test.output.classesDir,
7272
haltonfailure: 'true',

rxjava-contrib/rxjava-android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ dependencies {
66
provided 'com.google.android:support-v4:r7'
77

88
// testing
9-
provided 'junit:junit-dep:4.10'
10-
provided 'org.mockito:mockito-core:1.8.5'
11-
provided 'org.robolectric:robolectric:2.2'
9+
testCompile 'junit:junit-dep:4.10'
10+
testCompile 'org.mockito:mockito-core:1.8.5'
11+
testCompile 'org.robolectric:robolectric:2.2'
1212
}
1313

1414
javadoc {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ targetCompatibility = JavaVersion.VERSION_1_6
66
dependencies {
77
compile project(':rxjava-core')
88
testCompile project(":rxjava-core").sourceSets.test.output
9-
provided 'junit:junit-dep:4.10'
10-
provided 'org.mockito:mockito-core:1.8.5'
9+
testCompile 'junit:junit-dep:4.10'
10+
testCompile 'org.mockito:mockito-core:1.8.5'
1111
}
1212

1313
jar {

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ targetCompatibility = JavaVersion.VERSION_1_6
66
dependencies {
77
compile project(':rxjava-core')
88
testCompile project(":rxjava-core").sourceSets.test.output
9-
provided 'junit:junit-dep:4.10'
10-
provided 'org.mockito:mockito-core:1.8.5'
9+
testCompile 'junit:junit-dep:4.10'
10+
testCompile 'org.mockito:mockito-core:1.8.5'
1111
}
1212

1313
jar {

rxjava-contrib/rxjava-debug/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ targetCompatibility = JavaVersion.VERSION_1_6
66
dependencies {
77
compile project(':rxjava-core')
88
testCompile project(":rxjava-core").sourceSets.test.output
9-
provided 'junit:junit-dep:4.10'
10-
provided 'org.mockito:mockito-core:1.8.5'
9+
testCompile 'junit:junit-dep:4.10'
10+
testCompile 'org.mockito:mockito-core:1.8.5'
1111
}
1212

1313
javadoc {

rxjava-contrib/rxjava-ios/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ apply plugin: 'osgi'
22

33
dependencies {
44
compile project(':rxjava-core')
5-
6-
// testing
7-
provided 'junit:junit-dep:4.10'
85
compile 'org.robovm:robovm-rt:0.0.12'
96
compile 'org.robovm:robovm-objc:0.0.12'
107
compile 'org.robovm:robovm-cocoatouch:0.0.12'
8+
9+
// testing
10+
testCompile 'junit:junit-dep:4.10'
1111
}
1212

1313
javadoc {

0 commit comments

Comments
 (0)