build: Adds x86/64, split into separate APKs
This commit is contained in:
13
.build.yml
13
.build.yml
@@ -20,8 +20,13 @@ tasks:
|
|||||||
cd KordophoneDroid/
|
cd KordophoneDroid/
|
||||||
./gradlew assembleRelease
|
./gradlew assembleRelease
|
||||||
- prepare: |
|
- prepare: |
|
||||||
cp KordophoneDroid/app/build/outputs/apk/release/app-release.apk ~/kordophone.apk
|
cd KordophoneDroid/app/build/outputs/apk/release/
|
||||||
|
cp app-arm64-v8a-release.apk ~/kordophone-arm64-v8a-release.apk
|
||||||
|
cp app-armeabi-v7a-release.apk ~/kordophone-armeabi-v7a-release.apk
|
||||||
|
cp app-x86_64-release.apk ~/kordophone-x86_64-release.apk
|
||||||
|
cp app-x86-release.apk ~/kordophone-x86-release.apk
|
||||||
artifacts:
|
artifacts:
|
||||||
- kordophone.apk
|
- kordophone-arm64-v8a-release.apk
|
||||||
|
- kordophone-armeabi-v7a-release.apk
|
||||||
|
- kordophone-x86_64-release.apk
|
||||||
|
- kordophone-x86-release.apk
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "net.buzzert.kordophonedroid"
|
applicationId "net.buzzert.kordophonedroid"
|
||||||
minSdk 31
|
minSdk 30
|
||||||
targetSdk 33
|
targetSdk 33
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
@@ -69,6 +69,17 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
splits {
|
||||||
|
abi {
|
||||||
|
// Enable building for multiple ABIs
|
||||||
|
enable true
|
||||||
|
|
||||||
|
// Include x86/x86_64 APKs
|
||||||
|
include "x86", "x86_64"
|
||||||
|
universalApk false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
buildToolsVersion '33.0.1'
|
buildToolsVersion '33.0.1'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
android:name=".KordophoneApplication"
|
android:name=".KordophoneApplication"
|
||||||
android:networkSecurityConfig="@xml/network_security_config"
|
android:networkSecurityConfig="@xml/network_security_config"
|
||||||
android:usesCleartextTraffic="true"
|
android:usesCleartextTraffic="true"
|
||||||
tools:targetApi="31">
|
>
|
||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ android {
|
|||||||
compileSdk 33
|
compileSdk 33
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk 31
|
minSdk 30
|
||||||
targetSdk 33
|
targetSdk 33
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|||||||
Reference in New Issue
Block a user