Index: build.gradle |
diff --git a/build.gradle b/build.gradle |
index 6ab4fb584ec17006bd37e78456c3b4e8569ae51a..29cdd410e3cba5cdefa7feaf7f21b934fe6635b2 100644 |
--- a/build.gradle |
+++ b/build.gradle |
@@ -9,6 +9,14 @@ buildscript { |
} |
} |
+def gradleBuildDir = System.getenv('GRADLE_BUILD_DIR') |
+if (gradleBuildDir != null) { |
+ println "[Configuration] Building project in ${gradleBuildDir}" |
+ allprojects { |
+ buildDir = "${gradleBuildDir}/${project.name}" |
+ } |
+} |
+ |
subprojects { |
task listAllDependencies(type: DependencyReportTask) {} |
} |