upgrade deps

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-06-27 16:56:05 +08:00
parent d33d2a1c86
commit 37c7d1f3cd
3 changed files with 28 additions and 24 deletions

View File

@@ -7,6 +7,16 @@ plugins {
id("dev.flutter.flutter-gradle-plugin")
}
val agpMajorVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
.substringBefore('.')
.toInt()
val builtInKotlinProperty = providers.gradleProperty("android.builtInKotlin").orNull
val isBuiltInKotlinEnabled = agpMajorVersion >= 9 &&
(builtInKotlinProperty == null || builtInKotlinProperty.toBoolean())
if (!isBuiltInKotlinEnabled) {
apply(plugin = "org.jetbrains.kotlin.android")
}
android {
namespace = "com.example.piliplus"
compileSdk = flutter.compileSdkVersion