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 c5a4c9c commit 5381571
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion 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
}
}

0 comments on commit 5381571

Please sign in to comment.