Skip to content

Commit

Permalink
Make DummyObservable visible to clojureTest classpath.
Browse files Browse the repository at this point in the history
RxJava issue ReactiveX#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.
  • Loading branch information
daveray committed Aug 31, 2013
1 parent 53e1d27 commit 69c75b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions language-adaptors/rxjava-clojure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ dependencies {

// clojure
compile 'org.clojure:clojure:1.4.+'

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

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

clojureTest.dependsOn compileTestJava
/*
* Clojure
*/
Expand All @@ -38,7 +37,7 @@ eclipse {
}
}

tasks.clojureTest {
tasks.clojureTest {
classpath = classpath + configurations.provided
}

Expand Down

0 comments on commit 69c75b6

Please sign in to comment.