Merge pull request #6090 from TacoTheDank/removePreDex

Remove old preDexLibs code in build.gradle
This commit is contained in:
ByteHamster 2022-10-02 11:55:34 +02:00 committed by GitHub
commit a621551658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 { project.ext {
// AndroidX // AndroidX
annotationVersion = "1.2.0" annotationVersion = "1.2.0"