AntennaPod/build.gradle

39 lines
1.2 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()
2013-08-07 11:35:51 +02:00
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.1'
2015-08-18 17:38:51 +02:00
classpath 'me.tatarka:gradle-retrolambda:3.2.2'
2014-05-30 21:11:44 +02:00
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
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
}
// 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
}
}
}
2014-10-14 18:41:13 +02:00
task wrapper(type: Wrapper) {
2015-05-12 13:41:58 +02:00
gradleVersion = '2.4'
}