Update deprecated Android Gradle DSL calls

(cherry picked from commit a3917972b4af65d8f0f343ac4a7805477f5bd55d)

# Conflicts:
#	app/build.gradle.kts
This commit is contained in:
arkon 2021-08-22 18:05:18 -04:00 committed by Jobobby04
parent 3fdd433d89
commit 1559250f90

View File

@ -75,21 +75,22 @@ android {
dimension = "default"
}
create("dev") {
resConfigs("en", "xxhdpi")
resourceConfigurations.addAll(listOf("en", "xxhdpi"))
dimension = "default"
}
}
packagingOptions {
exclude("META-INF/DEPENDENCIES")
exclude("LICENSE.txt")
exclude("META-INF/LICENSE")
exclude("META-INF/LICENSE.txt")
exclude("META-INF/NOTICE")
exclude("META-INF/*.kotlin_module")
resources.excludes.addAll(listOf(
"META-INF/DEPENDENCIES",
"LICENSE.txt",
"META-INF/LICENSE",
"META-INF/LICENSE.txt",
"META-INF/NOTICE",
"META-INF/*.kotlin_module",
// Compatibility for two RxJava versions (EXH)
exclude("META-INF/rxjava.properties")
"META-INF/rxjava.properties",
))
}
dependenciesInfo {
@ -117,7 +118,6 @@ android {
}
dependencies {
implementation(kotlin("reflect", version = BuildPluginsVersion.KOTLIN))
val coroutinesVersion = "1.5.1"