diff --git a/example-app/build.gradle.kts b/example-app/build.gradle.kts index b8d62080..8bfe1c0f 100644 --- a/example-app/build.gradle.kts +++ b/example-app/build.gradle.kts @@ -36,7 +36,9 @@ android { minSdk = project.property("minSdk").toString().toInt() targetSdk = project.property("targetSdk").toString().toInt() - ndk { abiFilters += listOf("arm64-v8a") } + ndk { + abiFilters += listOf("arm64-v8a") + } vectorDrawables { useSupportLibrary = true } @@ -68,33 +70,39 @@ android { } release { - isMinifyEnabled = true - isShrinkResources = true + isDebuggable = false proguardFiles( getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro", ) - // Force legacy ProGuard instead of R8 - buildConfigField("String", "BUILD_CONFIG_VERSION", "\"release\"") signingConfig = signingConfigs.getByName("debug") } } packaging { - resources { - excludes += "META-INF/versions/9/previous-compilation-data.bin" excludes += "META-INF/*.kotlin_module" excludes += "META-INF/AL2.0" excludes += "META-INF/LGPL2.1" excludes += "META-INF/androidx.*.version" excludes += "**/*.proto" + excludes += "META-INF/DEPENDENCIES" + excludes += "META-INF/LICENSE*" + excludes += "META-INF/NOTICE*" + excludes += "META-INF/*.version" + excludes += "**/*.properties" + excludes += "kotlin/**" + excludes += "DebugProbesKt.bin" + excludes += "**/kotlin-tooling-metadata.json" + excludes += "**/*.txt" + excludes += "**/*.md" + excludes += "**/*.html" } jniLibs { @@ -225,8 +233,6 @@ dependencies { implementation(libs.androidx.vectordrawable) - implementation(libs.androidx.room.runtime.android) - testImplementation(libs.junit) testImplementation(libs.androidx.core)