Skip to content

Commit 478ea19

Browse files
committed
Remove build provided references (except for rxjava-android)
1 parent 7381cfd commit 478ea19

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.gradle

+5-5
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 {

0 commit comments

Comments
 (0)