build: exclude extra kotlin cruft from release build

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2023-04-03 19:07:15 +02:00
parent c3c4cd05b1
commit a6f5eb0dd2

View File

@ -55,6 +55,10 @@ android {
if (keystorePropertiesFile.exists()) signingConfig signingConfigs.release if (keystorePropertiesFile.exists()) signingConfig signingConfigs.release
minifyEnabled true minifyEnabled true
proguardFiles "proguard-android-optimize.txt", "proguard-rules.pro" proguardFiles "proguard-android-optimize.txt", "proguard-rules.pro"
packagingOptions {
exclude "DebugProbesKt.bin"
exclude "kotlin-tooling-metadata.json"
}
} }
debug { debug {
applicationIdSuffix ".debug" applicationIdSuffix ".debug"