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.
This commit is contained in:
Ryan Ernst 2016-04-14 14:54:52 -07:00
parent f35cfc3715
commit ba2abbf37c
1 changed files with 4 additions and 0 deletions

View File

@ -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