diff options
author | Ryan Ernst <ryan@iernst.net> | 2016-04-14 14:54:52 -0700 |
---|---|---|
committer | Ryan Ernst <ryan@iernst.net> | 2016-04-14 14:54:52 -0700 |
commit | ba2abbf37cb3f312853d74538f0f81b829daa232 (patch) | |
tree | 798ab60f8ef68acd30f34ac5ea97d889bffe7df9 /build.gradle | |
parent | f35cfc37153c5a48d47c5993af0f24fdcf0c5d3e (diff) |
Build: Exclude gradle and eclipse build dirs from intellij
Intellij has a model of "everything is a source dir unless you say
otherwise". This change fixes the intellij configuration to not think
the gradle or eclipse build dirs are source dirs.
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 6ab00d7388..761e1986eb 100644 --- a/build.gradle +++ b/build.gradle @@ -181,6 +181,10 @@ allprojects { outputDir = file('build-idea/classes/main') testOutputDir = file('build-idea/classes/test') + // also ignore other possible build dirs + excludeDirs += file('build') + excludeDirs += file('build-eclipse') + iml { // fix so that Gradle idea plugin properly generates support for resource folders // see also https://issues.gradle.org/browse/GRADLE-2975 |