Switch to new syntax for declaring SDK versions
Current ones are planned to be deprecated in AGP 10.x Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
This commit is contained in:
parent
89d55ede72
commit
53f36154aa
2 changed files with 14 additions and 4 deletions
|
|
@ -30,14 +30,22 @@ kotlin {
|
|||
}
|
||||
|
||||
configure<ApplicationExtension> {
|
||||
compileSdk = 36
|
||||
compileSdk {
|
||||
version = release(36) {
|
||||
minorApiLevel = 1
|
||||
}
|
||||
}
|
||||
namespace = "org.schabi.newpipe"
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "org.schabi.newpipe"
|
||||
resValue("string", "app_name", "NewPipe")
|
||||
minSdk = 23
|
||||
targetSdk = 35
|
||||
minSdk {
|
||||
version = release(23)
|
||||
}
|
||||
targetSdk {
|
||||
version = release(35)
|
||||
}
|
||||
|
||||
versionCode = System.getProperty("versionCodeOverride")?.toInt() ?: 1011
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,9 @@ kotlin {
|
|||
minorApiLevel = 1
|
||||
}
|
||||
}
|
||||
minSdk = 23
|
||||
minSdk {
|
||||
version = release(23)
|
||||
}
|
||||
androidResources {
|
||||
enable = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue