Update deprecated AGP properties (#770)

* Update deprecated AGP properties

* Remove unused suppression
This commit is contained in:
stevenyomi 2024-01-29 14:12:08 +08:00 committed by GitHub
parent 054f256bfc
commit 37f6713774
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,5 @@
object AndroidConfig {
const val compileSdk = 34
const val minSdk = 21
@Suppress("UNUSED")
const val targetSdk = 34
}

View File

@ -4,7 +4,7 @@ apply plugin: 'kotlinx-serialization'
apply plugin: 'org.jmailen.kotlinter'
android {
compileSdkVersion AndroidConfig.compileSdk
compileSdk AndroidConfig.compileSdk
namespace "eu.kanade.tachiyomi.extension"
sourceSets {
@ -17,8 +17,8 @@ android {
}
defaultConfig {
minSdkVersion AndroidConfig.minSdk
targetSdkVersion AndroidConfig.targetSdk
minSdk AndroidConfig.minSdk
targetSdk AndroidConfig.targetSdk
applicationIdSuffix project.parent.name + "." + project.name
versionCode extVersionCode
versionName project.ext.properties.getOrDefault("libVersion", "1.4") + ".$extVersionCode"