summaryrefslogtreecommitdiffhomepage
path: root/ui/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'ui/build.gradle')
-rw-r--r--ui/build.gradle21
1 files changed, 18 insertions, 3 deletions
diff --git a/ui/build.gradle b/ui/build.gradle
index 2bbbe539..91a6c461 100644
--- a/ui/build.gradle
+++ b/ui/build.gradle
@@ -12,14 +12,15 @@ group groupName
final def keystorePropertiesFile = rootProject.file("keystore.properties")
android {
- compileSdkVersion 31
+ compileSdk 33
buildFeatures {
buildConfig = true
dataBinding = true
viewBinding = true
}
+ namespace = 'com.wireguard.android'
defaultConfig {
- applicationId 'com.wireguard.android'
+ applicationId 'eu.m7n.wireguard.android'
minSdkVersion 21
targetSdkVersion 30
versionCode wireguardVersionCode
@@ -31,11 +32,25 @@ android {
targetCompatibility JavaVersion.VERSION_1_8
coreLibraryDesugaringEnabled = true
}
+ splits {
+ abi {
+ enable true
+ reset()
+ include "arm64-v8a", "armeabi-v7a"
+ universalApk false
+ }
+ }
if (keystorePropertiesFile.exists()) {
final def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
signingConfigs {
+ debug {
+ storeFile file('../keystore/debug.keystore')
+ storePassword "android"
+ keyAlias "androiddebugkey"
+ keyPassword "android"
+ }
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
@@ -60,6 +75,7 @@ android {
warning('MissingTranslation')
warning('ImpliedQuantity')
}
+ ndkVersion "21.3.6528147"
}
dependencies {
@@ -90,6 +106,5 @@ tasks.withType(JavaCompile) {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
- useIR = true
}
}