Skip to content

Commit e9cb145

Browse files
Fix build issues for rxjava-clojure examples
1 parent 0485a6d commit e9cb145

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

language-adaptors/rxjava-clojure/build.gradle

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@ dependencies {
66

77
// clojure
88
compile 'org.clojure:clojure:1.4.+'
9-
//compile 'clj-http:clj-http:0.6.4' // https://clojars.org/clj-http
9+
provided 'clj-http:clj-http:0.6.4' // https://clojars.org/clj-http
1010
}
1111

12+
tasks.compileExamplesClojure.classpath = files(tasks.compileClojure.destinationDir) + tasks.compileClojure.classpath
13+
1214
/*
1315
* Clojure
1416
*/
1517
aotCompile = true
16-
warnOnReflection = true
18+
warnOnReflection = false
1719

1820
buildscript {
1921
repositories { maven { url "http://clojars.org/repo" } }
@@ -37,10 +39,6 @@ tasks.clojureTest {
3739
classpath = classpath + configurations.provided
3840
}
3941

40-
tasks.compileExamplesClojure {
41-
classpath = classpath + configurations.provided
42-
}
43-
4442
jar {
4543
manifest {
4644
name = 'rxjava-clojure'

0 commit comments

Comments
 (0)