M12 — the Android client, end to end #2
@@ -162,6 +162,16 @@ android {
|
|||||||
(project.findProperty("THOUGHTSYNC_VERSION_CODE") as String?)?.toIntOrNull()
|
(project.findProperty("THOUGHTSYNC_VERSION_CODE") as String?)?.toIntOrNull()
|
||||||
versionCode = codeOverride ?: 1
|
versionCode = codeOverride ?: 1
|
||||||
versionName = nameOverride ?: "dev"
|
versionName = nameOverride ?: "dev"
|
||||||
|
|
||||||
|
// Package ONLY the ABIs we build for.
|
||||||
|
//
|
||||||
|
// Without this the APK also carries armeabi, mips and mips64 — dead
|
||||||
|
// architectures Android dropped years ago, which arrive because JNA's
|
||||||
|
// .aar still ships a libjnidispatch.so for each. They can never be
|
||||||
|
// loaded on any device this app supports, so they are pure payload.
|
||||||
|
ndk {
|
||||||
|
abiFilters += androidAbis
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|||||||
Reference in New Issue
Block a user