From 1156de6e72cf078b2989018c62e0cf2633167088 Mon Sep 17 00:00:00 2001 From: Zyrouge Date: Sat, 28 Dec 2024 13:24:42 +0530 Subject: [PATCH] ci: generate split apk --- .github/workflows/canary.yml | 1 + app/build.gradle.kts | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index e212b7a0..16b6933e 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -51,6 +51,7 @@ jobs: ./gradlew assembleCanary ./gradlew bundleCanary npm run postbuild + find . -name "*.apk" env: APP_BUILD_TYPE: canary APP_VERSION_NAME: ${{ steps.app_version.outputs.version }} diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 9d0f853c..e7777893 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -59,6 +59,13 @@ android { } } + splits { + abi { + isEnable = true + isUniversalApk = true + } + } + compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17