Skip to content

Commit

Permalink
Add IntelliJ Idea support to Gradle build
Browse files Browse the repository at this point in the history
  • Loading branch information
benjchristensen committed Feb 14, 2013
1 parent 544f384 commit 6dc501a
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 7 deletions.
10 changes: 8 additions & 2 deletions language-adaptors/rxjava-clojure/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,17 @@ eclipse {
}
}

idea {
module {
// include 'provided' dependencies on the classpath
scopes.PROVIDED.plus += configurations.provided
}
}


// setup Eclipse
eclipse {
classpath {
//you can tweak the classpath of the Eclipse project by adding extra configurations:
// include 'provided' dependencies on the classpath
plusConfigurations += configurations.provided

downloadSources = true
Expand Down
10 changes: 8 additions & 2 deletions language-adaptors/rxjava-groovy/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,19 @@ configurations {
// include 'examples' in build task
build.dependsOn examplesClasses

// setup Eclipse
eclipse {
classpath {
//you can tweak the classpath of the Eclipse project by adding extra configurations:
// include 'provided' dependencies on the classpath
plusConfigurations += configurations.provided

downloadSources = true
downloadJavadoc = true
}
}

idea {
module {
// include 'provided' dependencies on the classpath
scopes.PROVIDED.plus += configurations.provided
}
}
9 changes: 8 additions & 1 deletion language-adaptors/rxjava-jruby/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,17 @@ dependencies {

eclipse {
classpath {
//you can tweak the classpath of the Eclipse project by adding extra configurations:
// include 'provided' dependencies on the classpath
plusConfigurations += configurations.provided

downloadSources = true
downloadJavadoc = true
}
}

idea {
module {
// include 'provided' dependencies on the classpath
scopes.PROVIDED.plus += configurations.provided
}
}
9 changes: 8 additions & 1 deletion language-adaptors/rxjava-scala/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,17 @@ task test(overwrite: true, dependsOn: testClasses) << {

eclipse {
classpath {
//you can tweak the classpath of the Eclipse project by adding extra configurations:
// include 'provided' dependencies on the classpath
plusConfigurations += configurations.provided

downloadSources = true
downloadJavadoc = true
}
}

idea {
module {
// include 'provided' dependencies on the classpath
scopes.PROVIDED.plus += configurations.provided
}
}
9 changes: 8 additions & 1 deletion rxjava-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,21 @@ dependencies {

eclipse {
classpath {
//you can tweak the classpath of the Eclipse project by adding extra configurations:
// include 'provided' dependencies on the classpath
plusConfigurations += configurations.provided

downloadSources = true
downloadJavadoc = true
}
}

idea {
module {
// include 'provided' dependencies on the classpath
scopes.PROVIDED.plus += configurations.provided
}
}

javadoc {
// we do not want the org.rx.operations package include
exclude '**/operations/**'
Expand Down

0 comments on commit 6dc501a

Please sign in to comment.