Replace deprecated Gradle settings
This commit is contained in:
+6
-4
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user