Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: build.gradle

Issue 29646585: Issue 6213 - Configure building directory (Closed)
Patch Set: Created Dec. 21, 2017, 1:39 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « README.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {}
}
« no previous file with comments | « README.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld