Remove old preDexLibs code in build.gradle

This commit is contained in:
TacoTheDank 2022-09-18 22:59:26 -04:00
parent 097a491504
commit 07b4a237f6
1 changed files with 0 additions and 15 deletions

View File

@ -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"