summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2023-10-30 18:45:10 +0100
committercyBerta <cyberta@riseup.net>2023-10-31 18:53:25 +0100
commit820d3c6998848a0324f75c68bdbf05d321235b29 (patch)
tree49bfebb00069f4e0fd2dbbe1cab284992fb0d671 /app/build.gradle
parent48cf66f75e91d7bd017277bc249e6cbec0a4a078 (diff)
update to Gradle 8
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle17
1 files changed, 14 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle
index aa9e0480..efe7c1a3 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -4,9 +4,8 @@ import java.util.regex.Pattern
apply plugin: 'com.android.application'
android {
- compileSdkVersion 33
ndkVersion "21.4.7075529"
- buildToolsVersion '33.0.2'
+ namespace = "se.leap.bitmaskclient"
compileOptions {
targetCompatibility 1.8
@@ -17,6 +16,17 @@ android {
enabled = true
}
+ packaging {
+ jniLibs {
+ useLegacyPackaging = true
+ }
+ }
+
+ buildFeatures {
+ buildConfig true
+ aidl true
+ }
+
defaultConfig {
applicationId "se.leap.bitmaskclient"
// the factor 1000 is used so that gplay users can upgrade from split apks ((current version number - 1) * 1000) + n
@@ -24,6 +34,7 @@ android {
// however we don't calculate the versionCode here, because F-Droid doesn't like that
versionCode 169000
versionName "1.1.8"
+ compileSdk 33
minSdkVersion 21
targetSdkVersion 33
vectorDrawables.useSupportLibrary = true
@@ -498,7 +509,7 @@ subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
- compileSdkVersion 31
+ compileSdkVersion 33
}
}
}