mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2026-05-18 03:12:11 +00:00
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:
+11
-3
@@ -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,10 +33,12 @@ kotlin {
|
||||
namespace = "net.newpipe.app"
|
||||
compileSdk {
|
||||
version = release(36) {
|
||||
minorApiLevel = 0
|
||||
minorApiLevel = 1
|
||||
}
|
||||
}
|
||||
minSdk = 23
|
||||
minSdk {
|
||||
version = release(23)
|
||||
}
|
||||
androidResources {
|
||||
enable = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user