build: use split apks

Build multiple architecture-specfic APKs alongside the single "fat"
APK.
This commit is contained in:
Alexander Capehart 2023-02-20 20:53:54 -07:00
parent 5eab83ba4d
commit 055d25e3e1
No known key found for this signature in database
GPG key ID: 37DBE3621FE9AD47
2 changed files with 10 additions and 1 deletions

View file

@ -31,4 +31,4 @@ jobs:
uses: actions/upload-artifact@v3.1.1 uses: actions/upload-artifact@v3.1.1
with: with:
name: Auxio_Canary name: Auxio_Canary
path: ./app/build/outputs/apk/debug/app-debug.apk path: ./app/build/outputs/apk/debug/*.apk

View file

@ -57,6 +57,15 @@ android {
} }
} }
splits {
abi {
enable true
reset()
include "x86", "x86_64", "arm64-v8a", "armeabi-v7a"
universalApk true
}
}
buildFeatures { buildFeatures {
viewBinding true viewBinding true
} }