android: gradle build - add ndk.abiFilters to package the prebuilt arm64-v8a/libmpd.so with the apk

This commit is contained in:
gd 2025-02-01 11:11:34 +02:00 committed by Max Kellermann
parent 996e158f56
commit 0872a761c8

@ -18,6 +18,11 @@ android {
vectorDrawables {
useSupportLibrary = true
}
ndk {
// Specifies the ABI configurations of your native
// libraries Gradle should build and package with your app.
abiFilters += "arm64-v8a"
}
}
buildFeatures {
@ -30,8 +35,11 @@ android {
}
buildTypes {
release {
debug {
isMinifyEnabled = false
}
release {
isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"