2013-08-07 11:35:51 +02:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2019-01-27 10:55:08 +01:00
|
|
|
google()
|
2014-09-17 20:51:45 +02:00
|
|
|
jcenter()
|
2016-05-10 20:17:56 +02:00
|
|
|
mavenCentral()
|
2013-08-07 11:35:51 +02:00
|
|
|
}
|
|
|
|
dependencies {
|
2019-01-17 19:18:29 +01:00
|
|
|
classpath 'com.android.tools.build:gradle:3.3.0'
|
2019-01-27 12:45:32 +01:00
|
|
|
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.5'
|
2014-06-15 20:21:31 +02:00
|
|
|
}
|
2013-08-07 11:35:51 +02:00
|
|
|
}
|
|
|
|
|
2014-09-17 20:51:45 +02:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2018-03-13 17:51:50 +01:00
|
|
|
google()
|
2018-06-11 13:58:34 +02:00
|
|
|
jcenter()
|
2019-01-27 12:45:32 +01:00
|
|
|
maven { url "https://jitpack.io" }
|
2014-07-06 12:37:43 +02:00
|
|
|
}
|
2019-01-27 12:54:56 +01:00
|
|
|
|
|
|
|
gradle.projectsEvaluated {
|
|
|
|
tasks.withType(JavaCompile) {
|
|
|
|
options.compilerArgs << "-Xlint" << "-Xlint:-deprecation" << "-Xlint:-serial"
|
|
|
|
}
|
|
|
|
}
|
2014-10-14 18:41:13 +02:00
|
|
|
}
|
|
|
|
|
2015-11-01 17:48:33 +01:00
|
|
|
// Disable predex if requested (we can"t predex in Circle CI
|
2015-09-05 17:40:17 +02:00
|
|
|
// See http://tools.android.com/tech-docs/new-build-system/tips#TOC-Improving-Build-Server-performance
|
|
|
|
// and https://circleci.com/docs/android
|
2015-11-01 17:48:33 +01:00
|
|
|
project.ext.preDexLibs = !project.hasProperty("disablePreDex")
|
2015-09-05 17:40:17 +02:00
|
|
|
|
|
|
|
subprojects {
|
|
|
|
project.plugins.whenPluginAdded { plugin ->
|
2018-01-14 17:55:51 +01:00
|
|
|
if ("com.android.build.gradle.AppPlugin" == plugin.class.name) {
|
2015-09-05 17:40:17 +02:00
|
|
|
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs
|
2018-01-14 17:55:51 +01:00
|
|
|
} else if ("com.android.build.gradle.LibraryPlugin" == plugin.class.name) {
|
2015-09-05 17:40:17 +02:00
|
|
|
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-01 17:48:33 +01:00
|
|
|
project.ext {
|
2018-01-09 19:08:23 +01:00
|
|
|
compileSdkVersion = 26
|
2018-01-08 11:14:31 +01:00
|
|
|
minSdkVersion = 14
|
2018-02-10 20:41:45 +01:00
|
|
|
targetSdkVersion = 26
|
2015-11-01 17:48:33 +01:00
|
|
|
|
2018-10-21 22:12:07 +02:00
|
|
|
supportVersion = "27.1.1"
|
2019-07-02 18:33:23 +02:00
|
|
|
lifecycle_version = "1.1.1"
|
2019-05-06 23:04:19 +02:00
|
|
|
workManagerVersion = "1.0.1"
|
2018-09-30 17:08:17 +02:00
|
|
|
awaitilityVersion = "3.1.2"
|
2017-09-23 10:04:00 +02:00
|
|
|
commonsioVersion = "2.5"
|
|
|
|
commonslangVersion = "3.6"
|
2018-04-21 16:17:41 +02:00
|
|
|
commonstextVersion = "1.3"
|
2019-04-12 11:28:29 +02:00
|
|
|
eventbusVersion = "3.1.1"
|
2017-09-23 09:56:49 +02:00
|
|
|
flattr4jVersion = "2.14"
|
2018-10-14 10:26:36 +02:00
|
|
|
glideVersion = "4.8.0"
|
2018-12-23 15:45:30 +01:00
|
|
|
glideOkhttpIntegrationVersion = "4.8.0"
|
2016-08-04 21:19:03 +02:00
|
|
|
iconifyVersion = "2.2.2"
|
2018-01-07 19:27:50 +01:00
|
|
|
jsoupVersion = "1.11.2"
|
2017-09-23 10:02:23 +02:00
|
|
|
materialDialogsVersion = "0.9.0.2"
|
2017-09-23 10:22:31 +02:00
|
|
|
okhttpVersion = "3.9.0"
|
2018-04-03 12:06:35 +02:00
|
|
|
okioVersion = "1.14.0"
|
|
|
|
recyclerviewFlexibledividerVersion = "1.4.0"
|
2017-09-23 09:56:37 +02:00
|
|
|
robotiumSoloVersion = "5.6.3"
|
2018-09-30 19:58:53 +02:00
|
|
|
rxAndroidVersion = "2.1.0"
|
|
|
|
rxJavaVersion = "2.2.2"
|
2018-04-03 12:06:35 +02:00
|
|
|
rxJavaRulesVersion = "1.3.3.0"
|
|
|
|
triangleLabelViewVersion = "1.1.2"
|
2016-01-02 02:39:58 +01:00
|
|
|
|
2019-01-05 14:20:26 +01:00
|
|
|
exoPlayerVersion = "2.9.3"
|
2017-08-13 18:09:44 +02:00
|
|
|
audioPlayerVersion = "v1.0.17"
|
2016-03-19 05:31:41 +01:00
|
|
|
|
2017-09-23 10:03:36 +02:00
|
|
|
castCompanionLibVer = "2.9.1"
|
2016-04-20 03:31:03 +02:00
|
|
|
playServicesVersion = "8.4.0"
|
2018-01-09 19:08:23 +01:00
|
|
|
wearableSupportVersion = "2.2.0"
|
2015-11-01 17:48:33 +01:00
|
|
|
}
|
|
|
|
|
2018-09-27 13:21:15 +02:00
|
|
|
wrapper {
|
|
|
|
gradleVersion = "4.10.2"
|
2015-11-01 17:48:33 +01:00
|
|
|
}
|
2016-06-08 20:11:26 +02:00
|
|
|
|
|
|
|
// free build hack: common functions
|
|
|
|
def doFreeBuild() {
|
2016-06-09 00:59:02 +02:00
|
|
|
return hasProperty("freeBuild")
|
2016-06-08 20:11:26 +02:00
|
|
|
}
|