diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 998d7f6..d2e4367 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -49,11 +49,9 @@ android { buildTypes { release { isMinifyEnabled = true - proguardFiles( - getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" - ) - signingConfig = - signingConfigs.getByName(if (keystorePath != null) "github" else "release") + isShrinkResources = true + proguardFiles("proguard-rules.pro") + signingConfig = signingConfigs.getByName(if (keystorePath != null) "github" else "release") } debug { if (keystorePath != null) signingConfig = signingConfigs.getByName("github") diff --git a/gradle.properties b/gradle.properties index 68f3d62..8afe19d 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,3 +11,6 @@ android.enableResourceOptimizations=true # Kotlin kotlin.code.style=official kotlin.daemon.useFallbackStrategy=false + +# Experimental +android.experimental.enableNewResourceShrinker.preciseShrinking=true \ No newline at end of file