Upgrade to Android API 36 (Android 16)

This commit is contained in:
Herbert Reiter
2025-07-06 20:10:27 +02:00
parent 8959fdaa99
commit 9d281ebde9
+8 -8
View File
@@ -1,25 +1,25 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
namespace "net.moasdawiki.app" namespace = "net.moasdawiki.app"
compileSdk 34 // 34 = Android 14 compileSdk = 36 // 36 = Android 16
defaultConfig { defaultConfig {
applicationId "net.moasdawiki.app" applicationId "net.moasdawiki.app"
minSdk 28 // 28 = Android 9 minSdk = 28 // 28 = Android 9
targetSdk 34 // should be same as compileSdk targetSdk = 36 // should be same as compileSdk
versionCode 46 versionCode = 46
versionName "3.9.3.0" versionName = "3.9.3.0"
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_11 sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11
} }
buildFeatures { buildFeatures {
buildConfig true buildConfig = true
} }
lintOptions { lintOptions {
// Workaround for NullPointerException in :app:lintVitalAnalyzeRelease in fdroid build // Workaround for NullPointerException in :app:lintVitalAnalyzeRelease in fdroid build
checkReleaseBuilds false checkReleaseBuilds = false
} }
base { base {
archivesName = "moasdawiki-" + defaultConfig.versionName + "-" + defaultConfig.versionCode archivesName = "moasdawiki-" + defaultConfig.versionName + "-" + defaultConfig.versionCode