From 820d3c6998848a0324f75c68bdbf05d321235b29 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 30 Oct 2023 18:45:10 +0100 Subject: update to Gradle 8 --- app/build.gradle | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'app/build.gradle') 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 } } } -- cgit v1.2.3