OLD | NEW |
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 } |
OLD | NEW |