mirror of
https://github.com/keiyoushi/extensions-source.git
synced 2024-11-25 03:33:24 +01:00
Update deprecated AGP properties (#770)
* Update deprecated AGP properties * Remove unused suppression
This commit is contained in:
parent
054f256bfc
commit
37f6713774
@ -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
Block a user