Files
kryz-go-flutter/android/settings.gradle.kts
T
robot f66e7efe2b
CI / Lint (pull_request) Successful in 19m20s
CI / Test (pull_request) Successful in 19m18s
CI / Build Android (pull_request) Failing after 37m50s
CI / Build iOS (pull_request) Canceled after 0s
fix(build): revert settings.gradle.kts to fully-qualified java.util.Properties
The settings.gradle.kts pluginManagement block runs in a different
context where top-level imports are not available. Use fully-qualified
java.util.Properties() here while keeping explicit imports in
app/build.gradle.kts where they are required.
2026-08-01 21:43:28 +00:00

27 lines
772 B
Kotlin
Executable File

pluginManagement {
val flutterSdkPath =
run {
val properties = java.util.Properties()
file("local.properties").inputStream().use { properties.load(it) }
val flutterSdkPath = properties.getProperty("flutter.sdk")
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
flutterSdkPath
}
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.11.1" apply false
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
}
include(":app")