From 1559250f903653fa4572aa0ccac6e97b4844cd6e Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 22 Aug 2021 18:05:18 -0400 Subject: [PATCH] Update deprecated Android Gradle DSL calls (cherry picked from commit a3917972b4af65d8f0f343ac4a7805477f5bd55d) # Conflicts: # app/build.gradle.kts --- app/build.gradle.kts | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 36d9236ca..501af87e5 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -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") - - // Compatibility for two RxJava versions (EXH) - exclude("META-INF/rxjava.properties") + 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) + "META-INF/rxjava.properties", + )) } dependenciesInfo { @@ -117,7 +118,6 @@ android { } dependencies { - implementation(kotlin("reflect", version = BuildPluginsVersion.KOTLIN)) val coroutinesVersion = "1.5.1"