2013-05-25 17:14:46 -04:00
|
|
|
buildscript {
|
2014-09-18 09:18:41 -04:00
|
|
|
repositories {
|
2014-12-19 17:05:58 -05:00
|
|
|
jcenter()
|
2014-09-18 09:18:41 -04:00
|
|
|
}
|
2013-05-25 17:14:46 -04:00
|
|
|
|
2014-09-18 09:18:41 -04:00
|
|
|
dependencies {
|
2014-12-08 18:41:10 -05:00
|
|
|
classpath 'com.android.tools.build:gradle:1.0.0'
|
2014-09-18 09:18:41 -04:00
|
|
|
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.0'
|
|
|
|
}
|
2013-05-25 17:14:46 -04:00
|
|
|
}
|
|
|
|
|
2014-08-30 19:10:13 -04:00
|
|
|
project.ext.preDexLibs = !project.hasProperty('disablePreDex')
|
2014-12-18 06:50:33 -05:00
|
|
|
project.ext.testCoverage = project.hasProperty('testCoverage')
|
2014-08-30 19:10:13 -04:00
|
|
|
|
|
|
|
subprojects {
|
2014-09-18 09:18:41 -04:00
|
|
|
project.plugins.whenPluginAdded { plugin ->
|
|
|
|
if ("com.android.build.gradle.AppPlugin".equals(plugin.class.name) ||
|
|
|
|
"com.android.build.gradle.LibraryPlugin".equals(plugin.class.name)) {
|
|
|
|
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs
|
|
|
|
}
|
2014-08-30 19:10:13 -04:00
|
|
|
}
|
|
|
|
}
|