AntennaPod/build.gradle

78 lines
2.3 KiB
Groovy

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.2'
classpath "me.tatarka:gradle-retrolambda:3.2.4"
classpath "me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2"
classpath 'com.github.triplet.gradle:play-publisher:1.1.4'
// Exclude the version that the android plugin depends on.
configurations.classpath.exclude group: "com.android.tools.external.lombok"
}
}
allprojects {
repositories {
jcenter()
}
}
// 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
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
}
}
}
project.ext {
compileSdkVersion = 23
buildToolsVersion = "23.0.3"
minSdkVersion = 10
targetSdkVersion = 23
supportVersion = "23.4.0"
commonsioVersion = "2.4"
commonslangVersion = "3.4"
eventbusVersion = "2.4.0"
flattr4jVersion = "2.13"
glideVersion = "3.7.0"
glideOkhttpIntegrationVersion = "1.4.0"
iconifyVersion = "2.2.2"
jsoupVersion = "1.9.2"
materialDialogsVersion = "0.8.5.6@aar"
okhttpVersion = "2.7.5"
okioVersion = "1.9.0"
recyclerviewFlexibledividerVersion = "1.2.6"
robotiumSoloVersion = "5.6.0"
rxAndroidVersion = "1.2.1"
rxJavaVersion = "1.1.8"
rxJavaRulesVersion = "1.1.8.0"
triangleLabelViewVersion = "1.1.0"
audioPlayerVersion = "v1.0.16"
castCompanionLibVer = "2.8.3"
playServicesVersion = "8.4.0"
}
task wrapper(type: Wrapper) {
gradleVersion = "2.14.1"
}
// free build hack: common functions
def doFreeBuild() {
return hasProperty("freeBuild")
}