upgrade deps

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-07-28 13:40:21 +08:00
parent 91e7899858
commit 5296a8f7f0
2 changed files with 6 additions and 20 deletions

View File

@@ -19,20 +19,6 @@ subprojects {
}
subprojects {
beforeEvaluate {
if (project.name == "jni") {
val agpMajorVersion = com.android.Version.ANDROID_GRADLE_PLUGIN_VERSION
.substringBefore('.')
.toInt()
val builtInKotlinProperty =
project.providers.gradleProperty("android.builtInKotlin").orNull
val isBuiltInKotlinEnabled = agpMajorVersion >= 9 &&
(builtInKotlinProperty == null || builtInKotlinProperty.toBoolean())
if (!isBuiltInKotlinEnabled) {
project.apply(plugin = "org.jetbrains.kotlin.android")
}
}
}
afterEvaluate {
if (project.extensions.findByName("android") != null) {
val androidExtension =