File tree Expand file tree Collapse file tree 2 files changed +47
-10
lines changed
language-adaptors/rxjava-clojure
src/test/clojure/rx/lang/clojure Expand file tree Collapse file tree 2 files changed +47
-10
lines changed Original file line number Diff line number Diff line change 1
1
apply plugin : ' java'
2
+ apply plugin : ' clojure'
2
3
apply plugin : ' eclipse'
3
4
apply plugin : ' idea'
4
5
@@ -7,21 +8,41 @@ dependencies {
7
8
provided ' org.clojure:clojure:1.4.+'
8
9
provided ' junit:junit:4.10'
9
10
provided ' org.mockito:mockito-core:1.8.5'
11
+
12
+ // clojure
13
+ testCompile ' clj-http:clj-http:0.6.4' // https://clojars.org/clj-http
10
14
}
11
15
12
- // include /src/examples folder
13
- sourceSets {
14
- examples
16
+ /*
17
+ * Clojure
18
+ */
19
+ aotCompile = true
20
+ warnOnReflection = true
21
+
22
+ buildscript {
23
+ repositories { maven { url " http://clojars.org/repo" } }
24
+ dependencies { classpath " clojuresque:clojuresque:1.5.4" }
15
25
}
16
26
17
- // make 'examples' use the same classpath
18
- configurations {
19
- examplesCompile. extendsFrom compile
20
- examplesRuntime. extendsFrom runtime
27
+ repositories {
28
+ mavenCentral()
29
+ clojarsRepo()
30
+ }
31
+
32
+ /*
33
+ * Add Counterclockwise and include 'provided' dependencies
34
+ */
35
+ eclipse {
36
+ project {
37
+ natures " ccw.nature"
38
+ }
39
+ classpath {
40
+ plusConfigurations + = configurations. provided
41
+ downloadSources = true
42
+ downloadJavadoc = true
43
+ }
21
44
}
22
45
23
- // include 'examples' in build task
24
- build. dependsOn examplesClasses
25
46
26
47
// setup Eclipse
27
48
eclipse {
@@ -33,3 +54,19 @@ eclipse {
33
54
downloadJavadoc = true
34
55
}
35
56
}
57
+
58
+ // include /src/examples folder
59
+ sourceSets {
60
+ examples
61
+ }
62
+
63
+ // make 'examples' use the same classpath
64
+ configurations {
65
+ examplesCompile. extendsFrom compile
66
+ examplesRuntime. extendsFrom runtime
67
+ }
68
+
69
+ // include 'examples' in build task
70
+ build. dependsOn examplesClasses
71
+
72
+
Original file line number Diff line number Diff line change 1
- (ns rx.lang.clojure.examples.rx-examples
1
+ (ns rx.lang.clojure.observable-tests
2
2
(import rx.Observable))
3
3
4
4
; ; still need to get this wired up in build.gradle to run as tests
You can’t perform that action at this time.
0 commit comments