Replace deprecated Gradle settings

This commit is contained in:
Herbert Reiter
2023-08-05 22:01:20 +02:00
parent efff4078ab
commit 32e75598cd
+6 -4
View File
@@ -2,14 +2,13 @@ apply plugin: 'com.android.application'
android { android {
namespace "net.moasdawiki.app" namespace "net.moasdawiki.app"
compileSdkVersion 33 // 33 = Android 13 compileSdk 33 // 33 = Android 13
defaultConfig { defaultConfig {
applicationId "net.moasdawiki.app" applicationId "net.moasdawiki.app"
minSdkVersion 28 // 28 = Android 9 minSdk 28 // 28 = Android 9
targetSdkVersion 33 // should be same as compileSdkVersion targetSdk 33 // should be same as compileSdk
versionCode 36 versionCode 36
versionName "3.6.1.0" versionName "3.6.1.0"
archivesBaseName = "moasdawiki-" + versionName + "-" + versionCode
} }
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_11 sourceCompatibility JavaVersion.VERSION_11
@@ -22,6 +21,9 @@ android {
// Workaround for KotlinNullPointerException in :app:lintVitalAnalyzeRelease // Workaround for KotlinNullPointerException in :app:lintVitalAnalyzeRelease
checkReleaseBuilds false checkReleaseBuilds false
} }
base {
archivesName = "moasdawiki-" + defaultConfig.versionName + "-" + defaultConfig.versionCode
}
} }
dependencies { dependencies {