mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-17 19:29:44 +01:00
59 lines
1.7 KiB
Groovy
59 lines
1.7 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
dependencies {
|
|
classpath "com.android.tools.build:gradle:1.3.1"
|
|
classpath "me.tatarka:gradle-retrolambda:3.2.3"
|
|
classpath "me.tatarka.retrolambda.projectlombok:lombok.ast:0.2.3.a2"
|
|
|
|
// 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 = 22
|
|
buildToolsVersion = "22.0.1"
|
|
minSdkVersion = 10
|
|
targetSdkVersion = 22
|
|
|
|
supportVersion = "22.2.1"
|
|
commonsioVersion = "2.4"
|
|
commonslangVersion = "3.4"
|
|
eventbusVersion = "2.4.0"
|
|
flattr4jVersion = "2.12"
|
|
glideVersion = "3.6.1"
|
|
jsoupVersion = "1.7.3"
|
|
rxAndroidVersion = "1.0.1"
|
|
okhttpVersion = "2.5.0"
|
|
okioVersion = "1.6.0"
|
|
}
|
|
|
|
task wrapper(type: Wrapper) {
|
|
gradleVersion = "2.4"
|
|
}
|