summaryrefslogtreecommitdiffhomepage
path: root/ui/build.gradle
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2019-04-10 00:04:04 +0200
committerMikael Magnusson <mikma@users.sourceforge.net>2022-05-19 00:25:31 +0200
commitb37e99bb6b4bb6099fa898be6391c7a25805c5a5 (patch)
treea100e88b5d26d8057e23d1f09370616956bc3c9c /ui/build.gradle
parentc762bc3120c54467ab25665214a96f539b9f9139 (diff)
m7n: local build modifications
Use custom application id: eu.m7n.wireguard.android Set app names to (m7n.eu) WireGuard and (m7n.eu) WireGuard β Limit ABIs to arm64-v8a and x86_64 Use NDK 21.3
Diffstat (limited to 'ui/build.gradle')
-rw-r--r--ui/build.gradle11
1 files changed, 10 insertions, 1 deletions
diff --git a/ui/build.gradle b/ui/build.gradle
index 2bbbe539..f5fb22b3 100644
--- a/ui/build.gradle
+++ b/ui/build.gradle
@@ -19,7 +19,7 @@ android {
viewBinding = true
}
defaultConfig {
- applicationId 'com.wireguard.android'
+ applicationId 'eu.m7n.wireguard.android'
minSdkVersion 21
targetSdkVersion 30
versionCode wireguardVersionCode
@@ -31,6 +31,14 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
coreLibraryDesugaringEnabled = true
}
+ splits {
+ abi {
+ enable true
+ reset()
+ include "arm64-v8a", "x86_64"
+ universalApk false
+ }
+ }
if (keystorePropertiesFile.exists()) {
final def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
@@ -60,6 +68,7 @@ android {
warning('MissingTranslation')
warning('ImpliedQuantity')
}
+ ndkVersion "21.3.6528147"
}
dependencies {