Skip to content

Commit d970e6d

Browse files
committed
Cleanup clojure project buildscript.
1 parent 3753da2 commit d970e6d

File tree

1 file changed

+10
-26
lines changed

1 file changed

+10
-26
lines changed

language-adaptors/rxjava-clojure/build.gradle

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,30 @@
1+
buildscript {
2+
repositories { maven { url "http://clojars.org/repo" } }
3+
dependencies { classpath "clojuresque:clojuresque:1.5.8" }
4+
}
5+
16
apply plugin: 'clojure'
27
apply plugin: 'osgi'
38

9+
repositories {
10+
clojarsRepo()
11+
}
12+
413
dependencies {
514
compile project(':rxjava-core')
6-
7-
// clojure
815
compile 'org.clojure:clojure:1.4.+'
9-
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
16+
compile 'clj-http:clj-http:0.6.4' // https://clojars.org/clj-http
1217
}
1318

14-
tasks.compileExamplesClojure.classpath = files(tasks.compileClojure.destinationDir) + tasks.compileClojure.classpath
15-
16-
/*
17-
* Clojure
18-
*/
1919
aotCompile = true
2020
warnOnReflection = false
2121

22-
buildscript {
23-
repositories { maven { url "http://clojars.org/repo" } }
24-
dependencies { classpath "clojuresque:clojuresque:1.5.8" }
25-
}
26-
27-
repositories {
28-
clojarsRepo()
29-
}
30-
31-
/*
32-
* Add Counterclockwise and include 'provided' dependencies
33-
*/
3422
eclipse {
3523
project {
3624
natures "ccw.nature"
3725
}
3826
}
3927

40-
tasks.clojureTest {
41-
classpath = classpath + configurations.provided
42-
}
43-
4428
jar {
4529
manifest {
4630
name = 'rxjava-clojure'

0 commit comments

Comments
 (0)