Skip to content

Commit 1cf564a

Browse files
Eclipse build config
- Include 'provided' in Eclipse classpath - Upgrade to Groovy 2.+
1 parent b68c718 commit 1cf564a

File tree

4 files changed

+42
-2
lines changed

4 files changed

+42
-2
lines changed

language-adaptors/rxjava-clojure/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,13 @@ dependencies {
88
provided 'junit:junit:4.10'
99
provided 'org.mockito:mockito-core:1.8.5'
1010
}
11+
12+
eclipse {
13+
classpath {
14+
//you can tweak the classpath of the Eclipse project by adding extra configurations:
15+
plusConfigurations += configurations.provided
16+
17+
downloadSources = true
18+
downloadJavadoc = true
19+
}
20+
}

language-adaptors/rxjava-groovy/build.gradle

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@ apply plugin: 'idea'
44

55
dependencies {
66
compile project(':rxjava-core')
7-
provided 'org.codehaus.groovy:groovy-all:1.8+'
7+
provided 'org.codehaus.groovy:groovy-all:2.+'
88
provided 'junit:junit:4.10'
99
provided 'org.mockito:mockito-core:1.8.5'
1010
}
11+
12+
eclipse {
13+
classpath {
14+
//you can tweak the classpath of the Eclipse project by adding extra configurations:
15+
plusConfigurations += configurations.provided
16+
17+
downloadSources = true
18+
downloadJavadoc = true
19+
}
20+
}

language-adaptors/rxjava-jruby/build.gradle

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@ apply plugin: 'idea'
44

55
dependencies {
66
compile project(':rxjava-core')
7-
compile 'org.jruby:jruby:1.6+'
7+
provided 'org.jruby:jruby:1.6+'
88
provided 'junit:junit:4.10'
99
provided 'org.mockito:mockito-core:1.8.5'
1010
}
11+
12+
eclipse {
13+
classpath {
14+
//you can tweak the classpath of the Eclipse project by adding extra configurations:
15+
plusConfigurations += configurations.provided
16+
17+
downloadSources = true
18+
downloadJavadoc = true
19+
}
20+
}

language-adaptors/rxjava-scala/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,13 @@ task test(overwrite: true, dependsOn: testClasses) << {
3434
haltonfailure: 'true',
3535
fork: 'false') {reporter(type: 'stdout')}
3636
}
37+
38+
eclipse {
39+
classpath {
40+
//you can tweak the classpath of the Eclipse project by adding extra configurations:
41+
plusConfigurations += configurations.provided
42+
43+
downloadSources = true
44+
downloadJavadoc = true
45+
}
46+
}

0 commit comments

Comments
 (0)