2014-09-17 20:51:45 +02:00
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
|
2013-08-07 11:35:51 +02:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2014-09-17 20:51:45 +02:00
|
|
|
jcenter()
|
2013-08-07 11:35:51 +02:00
|
|
|
}
|
|
|
|
dependencies {
|
2016-01-02 02:39:58 +01:00
|
|
|
classpath "com.android.tools.build:gradle:1.5.0"
|
2015-11-30 18:26:11 +01:00
|
|
|
classpath "me.tatarka:gradle-retrolambda:3.2.4"
|
2015-11-01 17:48:33 +01:00
|
|
|
classpath "me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2"
|
2014-05-30 21:11:44 +02:00
|
|
|
|
2015-11-01 17:48:33 +01:00
|
|
|
// Exclude the version that the android plugin depends on.
|
|
|
|
configurations.classpath.exclude group: "com.android.tools.external.lombok"
|
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 {
|
|
|
|
jcenter()
|
2014-07-06 12:37:43 +02:00
|
|
|
}
|
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 ->
|
|
|
|
if ("com.android.build.gradle.AppPlugin".equals(plugin.class.name)) {
|
|
|
|
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs
|
|
|
|
} else if ("com.android.build.gradle.LibraryPlugin".equals(plugin.class.name)) {
|
|
|
|
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-01 17:48:33 +01:00
|
|
|
project.ext {
|
2015-11-30 18:26:11 +01:00
|
|
|
compileSdkVersion = 23
|
|
|
|
buildToolsVersion = "23.0.2"
|
2015-11-01 17:48:33 +01:00
|
|
|
minSdkVersion = 10
|
2015-11-30 18:26:11 +01:00
|
|
|
targetSdkVersion = 23
|
2015-11-01 17:48:33 +01:00
|
|
|
|
2015-11-30 18:26:11 +01:00
|
|
|
supportVersion = "23.1.1"
|
2015-11-01 17:48:33 +01:00
|
|
|
commonsioVersion = "2.4"
|
|
|
|
commonslangVersion = "3.4"
|
|
|
|
eventbusVersion = "2.4.0"
|
|
|
|
flattr4jVersion = "2.12"
|
|
|
|
glideVersion = "3.6.1"
|
|
|
|
jsoupVersion = "1.7.3"
|
2015-11-30 18:26:11 +01:00
|
|
|
iconifyFontawesomeVersion = "2.1.1"
|
2015-12-28 22:35:40 +01:00
|
|
|
materialDialogsVersion = "0.8.5.3@aar"
|
2015-11-30 18:26:11 +01:00
|
|
|
recyclerviewFlexibledividerVersion = "1.2.6"
|
2015-12-28 20:00:59 +01:00
|
|
|
rxAndroidVersion = "1.1.0"
|
|
|
|
rxJavaVersion = "1.1.0"
|
|
|
|
rxJavaRulesVersion = "1.1.0.0"
|
|
|
|
okhttpVersion = "2.7.0"
|
2015-11-01 17:48:33 +01:00
|
|
|
okioVersion = "1.6.0"
|
2016-01-02 02:39:58 +01:00
|
|
|
|
2016-01-07 23:45:49 +01:00
|
|
|
audioPlayerVersion = "v1.0.8"
|
2015-11-01 17:48:33 +01:00
|
|
|
}
|
|
|
|
|
2014-10-14 18:41:13 +02:00
|
|
|
task wrapper(type: Wrapper) {
|
2015-12-28 20:00:59 +01:00
|
|
|
gradleVersion = "2.10"
|
2015-11-01 17:48:33 +01:00
|
|
|
}
|