1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-26 08:37:29 +00:00

Add prop to explicitly split apks instead of default

This commit is contained in:
Ammar Githam 2021-05-10 00:54:06 +09:00
parent 870eac1b6a
commit ae356d6601
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ jobs:
run: chmod +x gradlew run: chmod +x gradlew
- name: Build Github unsigned pre-release apk - name: Build Github unsigned pre-release apk
run: ./gradlew assembleGithubRelease --stacktrace --project-prop pre run: ./gradlew assembleGithubRelease --stacktrace --project-prop pre --project-prop split
- name: Sign APK - name: Sign APK
uses: ammargitham/sign-android-release@v1.1.1 uses: ammargitham/sign-android-release@v1.1.1

View File

@ -86,7 +86,7 @@ android {
// Configures multiple APKs based on ABI. // Configures multiple APKs based on ABI.
abi { abi {
// Enables building multiple APKs per ABI. // Enables building multiple APKs per ABI.
enable !project.hasProperty("noAbiSplits") && !gradle.startParameter.taskNames.isEmpty() && gradle.startParameter.taskNames.get(0).contains('Release') enable project.hasProperty("split") && !gradle.startParameter.taskNames.isEmpty() && gradle.startParameter.taskNames.get(0).contains('Release')
// By default all ABIs are included, so use reset() and include to specify that we only // By default all ABIs are included, so use reset() and include to specify that we only
// want APKs for x86 and x86_64. // want APKs for x86 and x86_64.