AntennaPod/build.gradle

78 lines
2.3 KiB
Groovy
Raw Normal View History

// 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 {
jcenter()
2016-05-10 20:17:56 +02:00
mavenCentral()
2013-08-07 11:35:51 +02:00
}
dependencies {
2017-09-23 09:22:32 +02:00
classpath "com.android.tools.build:gradle:2.3.3"
2017-09-23 09:25:59 +02:00
classpath "me.tatarka:gradle-retrolambda:3.7.0"
2015-11-01 17:48:33 +01:00
classpath "me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2"
classpath "com.github.triplet.gradle:play-publisher:1.1.4"
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"
}
2013-08-07 11:35:51 +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
// 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")
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 {
2017-08-13 18:09:58 +02:00
compileSdkVersion = 25
buildToolsVersion = "25.0.3"
2015-11-01 17:48:33 +01:00
minSdkVersion = 10
2017-08-13 18:09:58 +02:00
targetSdkVersion = 25
2015-11-01 17:48:33 +01:00
2016-06-26 16:10:09 +02:00
supportVersion = "23.4.0"
2015-11-01 17:48:33 +01:00
commonsioVersion = "2.4"
commonslangVersion = "3.4"
eventbusVersion = "2.4.0"
2017-09-23 09:56:49 +02:00
flattr4jVersion = "2.14"
glideVersion = "3.7.0"
glideOkhttpIntegrationVersion = "1.4.0"
2016-08-04 21:19:03 +02:00
iconifyVersion = "2.2.2"
jsoupVersion = "1.9.2"
2016-11-01 19:35:43 +01:00
materialDialogsVersion = "0.8.5.8@aar"
2016-11-13 22:04:08 +01:00
okhttpVersion = "3.4.2"
okioVersion = "1.11.0"
2015-11-30 18:26:11 +01:00
recyclerviewFlexibledividerVersion = "1.2.6"
2017-09-23 09:56:37 +02:00
robotiumSoloVersion = "5.6.3"
2016-08-04 21:19:03 +02:00
rxAndroidVersion = "1.2.1"
2017-09-23 09:57:05 +02:00
rxJavaVersion = "1.3.2"
rxJavaRulesVersion = "1.3.2.0"
triangleLabelViewVersion = "1.1.0"
2017-08-13 18:09:44 +02:00
audioPlayerVersion = "v1.0.17"
2016-03-19 05:31:41 +01:00
2016-04-17 22:01:39 +02:00
castCompanionLibVer = "2.8.3"
playServicesVersion = "8.4.0"
2015-11-01 17:48:33 +01:00
}
2014-10-14 18:41:13 +02:00
task wrapper(type: Wrapper) {
2017-09-23 09:22:32 +02:00
gradleVersion = "4.2"
2015-11-01 17:48:33 +01:00
}
2016-06-08 20:11:26 +02:00
// free build hack: common functions
def doFreeBuild() {
return hasProperty("freeBuild")
2016-06-08 20:11:26 +02:00
}