1
+ apply plugin : ' clojure'
1
2
apply plugin : ' java'
2
3
apply plugin : ' groovy'
3
- apply plugin : ' clojure'
4
- apply plugin : ' scala'
5
4
apply plugin : ' eclipse'
6
5
apply plugin : ' idea'
7
6
8
- aotCompile = true
9
- warnOnReflection = true
10
-
11
- repositories {
12
- mavenCentral()
13
- clojarsRepo()
14
- }
7
+ /*
8
+ * Can't have Scala in same project as Groovy
9
+ * and work in Eclipse
10
+ * http://groovy-eclipse-plugin.42567.n3.nabble.com/GrEclipse-and-Scala-td4025025.html
11
+ *
12
+ * It works fine with Gradle.
13
+ */
14
+ // apply plugin: 'scala'
15
15
16
- tasks. withType(ScalaCompile ) {
17
- scalaCompileOptions. fork = true
18
- scalaCompileOptions. unchecked = true
19
16
20
- configure(scalaCompileOptions. forkOptions) {
21
- memoryMaximumSize = ' 1g'
22
- jvmArgs = [' -XX:MaxPermSize=512m' ]
23
- }
24
- }
25
17
26
18
dependencies {
27
19
compile project(' :language-adaptors:rxjava-clojure' )
28
20
compile project(' :language-adaptors:rxjava-groovy' )
29
21
compile project(' :language-adaptors:rxjava-scala' )
30
- compile project(' :language-adaptors:rxjava-jruby' )
22
+ // compile project(':language-adaptors:rxjava-jruby')
31
23
32
24
provided ' junit:junit:4.10'
33
25
provided ' org.mockito:mockito-core:1.8.5'
@@ -36,12 +28,23 @@ dependencies {
36
28
compile ' clj-http:clj-http:0.6.4' // https://clojars.org/clj-http
37
29
38
30
// groovy
39
- groovy ' org.codehaus.groovy:groovy-all:1.8+'
40
-
41
- // scala
42
- scalaTools ' org.scala-lang:scala-compiler:2.10+'
43
- scalaTools ' org.scala-lang:scala-library:2.10+'
44
- provided ' org.scalatest:scalatest_2.10:1.9.1'
31
+ groovy ' org.codehaus.groovy:groovy-all:2.+'
32
+ }
33
+
34
+ /*
35
+ * Clojure
36
+ */
37
+ aotCompile = true
38
+ warnOnReflection = true
39
+
40
+ buildscript {
41
+ repositories { maven { url " http://clojars.org/repo" } }
42
+ dependencies { classpath " clojuresque:clojuresque:1.5.4" }
43
+ }
44
+
45
+ repositories {
46
+ mavenCentral()
47
+ clojarsRepo()
45
48
}
46
49
47
50
/*
@@ -58,11 +61,6 @@ eclipse {
58
61
}
59
62
}
60
63
61
- /*
62
- * Adds clojuresque to the (build) classpath
63
- */
64
- buildscript {
65
- repositories { maven { url " http://clojars.org/repo" } }
66
- dependencies { classpath " clojuresque:clojuresque:1.5.4" }
67
- }
64
+
65
+
68
66
0 commit comments