2013-05-25 21:14:46 +00:00
|
|
|
buildscript {
|
2014-09-18 13:18:41 +00:00
|
|
|
repositories {
|
2014-12-19 22:05:58 +00:00
|
|
|
jcenter()
|
2014-09-18 13:18:41 +00:00
|
|
|
}
|
2013-05-25 21:14:46 +00:00
|
|
|
|
2014-09-18 13:18:41 +00:00
|
|
|
dependencies {
|
2016-10-05 21:13:10 +00:00
|
|
|
classpath 'com.android.tools.build:gradle:2.2.0'
|
2014-09-18 13:18:41 +00:00
|
|
|
}
|
2013-05-25 21:14:46 +00:00
|
|
|
}
|
|
|
|
|
2015-12-21 01:11:37 +00:00
|
|
|
project.ext {
|
|
|
|
preDexLibs = !project.hasProperty('disablePreDex')
|
|
|
|
testCoverage = project.hasProperty('testCoverage')
|
2016-05-28 12:26:56 +00:00
|
|
|
optimizeForDevelopment = project.hasProperty('optimizeForDevelopment') && optimizeForDevelopment == 'true'
|
2015-12-21 01:11:37 +00:00
|
|
|
|
2016-09-04 07:24:19 +00:00
|
|
|
compileSdkVersion = 24
|
2016-10-05 21:13:10 +00:00
|
|
|
buildToolsVersion = '24.0.3'
|
2015-12-21 01:11:37 +00:00
|
|
|
}
|
2014-08-30 23:10:13 +00:00
|
|
|
|
|
|
|
subprojects {
|
2014-09-18 13:18:41 +00: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 23:10:13 +00:00
|
|
|
}
|
|
|
|
}
|