diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 87890721..d825edf6 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -47,12 +47,12 @@ android { } buildTypes { - getByName("debug") { + debug { applicationIdSuffix = ".debug" versionNameSuffix = "-debug" isDebuggable = true } - getByName("release") { + release { isMinifyEnabled = true isShrinkResources = true proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro") @@ -71,6 +71,9 @@ android { isIncludeAndroidResources = true } } + packagingOptions { + resources.excludes.add("META-INF/*") + } sourceSets { // Adds exported schema location as test app assets. getByName("androidTest").assets.srcDirs("$projectDir/schemas")