build: use split apks
Build multiple architecture-specfic APKs alongside the single "fat" APK.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user