Support for Android 12

This commit is contained in:
Herbert Reiter
2021-12-25 15:53:27 +01:00
parent ce33ef40d6
commit bb52a69ff7
2 changed files with 11 additions and 9 deletions
+7 -7
View File
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 30 // 30 = Android 11
compileSdkVersion 31 // 31 = Android 12
defaultConfig {
applicationId "net.moasdawiki.app"
minSdkVersion 26 // 26 = Oreo 8.0
targetSdkVersion 30 // should be same as compileSdkVersion
versionCode 27
versionName "2.6.1.0"
minSdkVersion 28 // 28 = Android 9
targetSdkVersion 31 // should be same as compileSdkVersion
versionCode 28
versionName "3.1.0.0"
archivesBaseName = "moasdawiki-" + versionName + "-" + versionCode
}
sourceSets {
@@ -18,8 +18,8 @@ android {
}
}
compileOptions {
sourceCompatibility = 1.8
targetCompatibility = 1.8
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
}