thunderbird-android/build.gradle

32 lines
910 B
Groovy
Raw Normal View History

2013-05-25 21:14:46 +00:00
buildscript {
2014-09-18 13:18:41 +00:00
repositories {
jcenter()
2018-02-17 03:05:09 +00:00
google()
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 {
2018-02-17 03:05:09 +00:00
classpath 'com.android.tools.build:gradle:3.0.1'
2017-09-07 03:00:21 +00:00
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${kotlinVersion}"
2018-03-08 05:59:06 +00:00
classpath "org.jetbrains.kotlin:kotlin-android-extensions:${kotlinVersion}"
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 {
testCoverage = project.hasProperty('testCoverage')
optimizeForDevelopment = project.hasProperty('optimizeForDevelopment') && optimizeForDevelopment == 'true'
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)) {
2016-10-19 10:35:28 +00:00
project.android.dexOptions.preDexLibraries = !rootProject.hasProperty('disablePreDex')
2014-09-18 13:18:41 +00:00
}
2014-08-30 23:10:13 +00:00
}
2018-02-17 03:33:30 +00:00
repositories {
jcenter()
google()
}
2014-08-30 23:10:13 +00:00
}