Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Document why we use different output paths for IntelliJ (#98)

Mike Drob838f1f180abc
diff --git a/gradle/ide/intellij-idea.gradle b/gradle/ide/intellij-idea.gradle
index 1d5b8d21bd5..bc34fcb57a9 100644
--- a/gradle/ide/intellij-idea.gradle
+++ b/gradle/ide/intellij-idea.gradle
@@ -29,6 +29,11 @@ allprojects {
idea {
module {
+ /* These are intentionally different from the standard Gradle paths.
+ When using the internal IntelliJ compiler instead of delegating to
+ the Gradle compiler, using the same directory can lead to strange
+ locking and staleness issues (esp Windows).
+ */
outputDir file('build/idea/classes/main')
testOutputDir file('build/idea/classes/test')
downloadSources = true