Skip to content

Commit

Permalink
Remove build provided references (except for rxjava-android)
Browse files Browse the repository at this point in the history
  • Loading branch information
gliptak committed Jul 9, 2014
1 parent 7381cfd commit 478ea19
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ 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
// this should be 'compile' for the 'examples' module
testCompile 'clj-http:clj-http:0.6.4' // https://clojars.org/clj-http
}

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

/*
* Clojure
Expand All @@ -29,7 +29,7 @@ repositories {
}

/*
* Add Counterclockwise and include 'provided' dependencies
* Add Counterclockwise and include 'testCompile' dependencies
*/
eclipse {
project {
Expand All @@ -38,7 +38,7 @@ eclipse {
}

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

jar {
Expand Down

0 comments on commit 478ea19

Please sign in to comment.