mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-24 15:51:10 +01:00
Remove old preDexLibs code in build.gradle
This commit is contained in:
parent
097a491504
commit
07b4a237f6
15
build.gradle
15
build.gradle
@ -19,21 +19,6 @@ allprojects {
|
||||
}
|
||||
}
|
||||
|
||||
// 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" == plugin.class.name) {
|
||||
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs
|
||||
} else if ("com.android.build.gradle.LibraryPlugin" == plugin.class.name) {
|
||||
project.android.dexOptions.preDexLibraries = rootProject.ext.preDexLibs
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
project.ext {
|
||||
// AndroidX
|
||||
annotationVersion = "1.2.0"
|
||||
|
Loading…
Reference in New Issue
Block a user