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

Side by Side Diff: build.gradle

Issue 29646585: Issue 6213 - Configure building directory (Closed)
Patch Set: Created Dec. 21, 2017, 1:39 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « README.md ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 buildscript { 1 buildscript {
2 repositories { 2 repositories {
3 mavenLocal() 3 mavenLocal()
4 mavenCentral() 4 mavenCentral()
5 jcenter() 5 jcenter()
6 } 6 }
7 dependencies { 7 dependencies {
8 classpath 'com.android.tools.build:gradle:2.3.0' 8 classpath 'com.android.tools.build:gradle:2.3.0'
9 } 9 }
10 } 10 }
11 11
12 def gradleBuildDir = System.getenv('GRADLE_BUILD_DIR')
13 if (gradleBuildDir != null) {
14 println "[Configuration] Building project in ${gradleBuildDir}"
15 allprojects {
16 buildDir = "${gradleBuildDir}/${project.name}"
17 }
18 }
19
12 subprojects { 20 subprojects {
13 task listAllDependencies(type: DependencyReportTask) {} 21 task listAllDependencies(type: DependencyReportTask) {}
14 } 22 }
OLDNEW
« no previous file with comments | « README.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld