From b9342b305be11ac7d834aee88a79c0febd8d4833 Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Thu, 4 Feb 2016 15:47:55 -0800 Subject: [PATCH] Also use separte buildSrc build dir for intellij --- build.gradle | 1 - buildSrc/build.gradle | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 1e7a8cbef84..be47690d8eb 100644 --- a/build.gradle +++ b/build.gradle @@ -176,7 +176,6 @@ allprojects { } idea { module { - // same as for the IntelliJ Gradle tooling integration inheritOutputDirs = false outputDir = file('build-idea/classes/main') testOutputDir = file('build-idea/classes/test') diff --git a/buildSrc/build.gradle b/buildSrc/build.gradle index de3b7d02a0c..f994bd528e1 100644 --- a/buildSrc/build.gradle +++ b/buildSrc/build.gradle @@ -76,6 +76,14 @@ extraArchive { tests = false } +idea { + module { + inheritOutputDirs = false + outputDir = file('build-idea/classes/main') + testOutputDir = file('build-idea/classes/test') + } +} + eclipse { classpath { defaultOutputDir = file('build-eclipse')