Update deprecated AGP properties (#770)
* Update deprecated AGP properties * Remove unused suppression
This commit is contained in:
parent
c587983c99
commit
e3638b172f
|
@ -1,6 +1,5 @@
|
||||||
object AndroidConfig {
|
object AndroidConfig {
|
||||||
const val compileSdk = 34
|
const val compileSdk = 34
|
||||||
const val minSdk = 21
|
const val minSdk = 21
|
||||||
@Suppress("UNUSED")
|
|
||||||
const val targetSdk = 34
|
const val targetSdk = 34
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ apply plugin: 'kotlinx-serialization'
|
||||||
apply plugin: 'org.jmailen.kotlinter'
|
apply plugin: 'org.jmailen.kotlinter'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion AndroidConfig.compileSdk
|
compileSdk AndroidConfig.compileSdk
|
||||||
|
|
||||||
namespace "eu.kanade.tachiyomi.extension"
|
namespace "eu.kanade.tachiyomi.extension"
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
@ -17,8 +17,8 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion AndroidConfig.minSdk
|
minSdk AndroidConfig.minSdk
|
||||||
targetSdkVersion AndroidConfig.targetSdk
|
targetSdk AndroidConfig.targetSdk
|
||||||
applicationIdSuffix project.parent.name + "." + project.name
|
applicationIdSuffix project.parent.name + "." + project.name
|
||||||
versionCode extVersionCode
|
versionCode extVersionCode
|
||||||
versionName project.ext.properties.getOrDefault("libVersion", "1.4") + ".$extVersionCode"
|
versionName project.ext.properties.getOrDefault("libVersion", "1.4") + ".$extVersionCode"
|
||||||
|
|
Loading…
Reference in New Issue