Skip to content

Commit

Permalink
Build app by architecture
Browse files Browse the repository at this point in the history
Generates separate apks for:
- universal
- arm64-v8a
- armeabi-v7a
- x86_64
- x86

Fixes #492

Signed-off-by: IacobIonut01 <[email protected]>
  • Loading branch information
IacobIonut01 committed Oct 11, 2024
1 parent 075e881 commit d3362d4
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ android {
applicationId = "com.dot.gallery"
minSdk = 30
targetSdk = 35
versionCode = 30115
versionCode = 30117
versionName = "3.0.1"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
Expand Down Expand Up @@ -118,6 +118,15 @@ android {
room {
schemaDirectory("$projectDir/schemas/")
}

splits {
abi {
isEnable = true
reset()
include("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
isUniversalApk = true
}
}
}

dependencies {
Expand Down

0 comments on commit d3362d4

Please sign in to comment.