64bit split apks WH0 J4H BL355

This commit is contained in:
fekt
2023-05-14 00:11:38 -04:00
parent a2808f3e68
commit 9bc203dea4

View File

@@ -6,8 +6,8 @@ apply plugin: 'kotlin-kapt'
apply plugin: "androidx.navigation.safeargs.kotlin"
apply plugin: 'com.github.ben-manes.versions'
archivesBaseName = 'hush-android-wallet'
group = 'hush.android'
archivesBaseName = 'dragonx-android-wallet'
group = 'dragonx.android'
version = Deps.versionName
android {
@@ -30,6 +30,14 @@ android {
// per https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.VectorDrawablesOptions.html: If set to an empty collection, all special handling of vector drawables will be disabled.
vectorDrawables.generatedDensities = []
}
splits {
abi {
enable true
reset()
universalApk true
include "armeabi-v7a", "x86", "arm64-v8a", "x86_64"
}
}
buildFeatures {
viewBinding true
}
@@ -108,13 +116,10 @@ android {
excludes += ['META-INF/AL2.0', 'META-INF/LGPL2.1']
}
}
namespace 'cash.z.ecc.android'
namespace 'dragonx.android'
applicationVariants.all { variant ->
variant.outputs.all {
if (variant.buildType.name == "qa") {
it.versionNameOverride = "${Deps.versionName}-QA"
}
outputFileName = "$archivesBaseName-v${Deps.versionName}-${variant.buildType.name}.apk"
variant.outputs.all { output ->
outputFileName = "$archivesBaseName-v${Deps.versionName}-${variant.buildType.name}-${output.getFilter("ABI")}.apk"
}
}
}