Skip to content
Merged

Demo #64

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions example-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -225,8 +233,6 @@ dependencies {

implementation(libs.androidx.vectordrawable)

implementation(libs.androidx.room.runtime.android)

testImplementation(libs.junit)

testImplementation(libs.androidx.core)
Expand Down
Loading