Skip to content

Commit a76e752

Browse files
committed
Make DummyObservable visible to clojureTest classpath.
RxJava issue #327. Moved DummyObservable into main so that it's compiled and available when the clojureTest task executes. Perhaps someone with stronger Gradle skills can figure out how to put this Java class in src/test and get things to work out. Correctly. For the time being, several clean/build cycles worked fine for me.
1 parent 6a7ee81 commit a76e752

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

language-adaptors/rxjava-clojure/build.gradle

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

77
// clojure
88
compile 'org.clojure:clojure:1.4.+'
9-
9+
1010
// this should be 'compile' for the 'examples' module ... can't figure that out right now so making 'provided'
1111
provided 'clj-http:clj-http:0.6.4' // https://clojars.org/clj-http
1212
}
1313

1414
tasks.compileExamplesClojure.classpath = files(tasks.compileClojure.destinationDir) + tasks.compileClojure.classpath
1515

16-
clojureTest.dependsOn compileTestJava
1716
/*
1817
* Clojure
1918
*/
@@ -38,7 +37,7 @@ eclipse {
3837
}
3938
}
4039

41-
tasks.clojureTest {
40+
tasks.clojureTest {
4241
classpath = classpath + configurations.provided
4342
}
4443

0 commit comments

Comments
 (0)