fix(build): revert settings.gradle.kts to fully-qualified java.util.Properties
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

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.
This commit is contained in:
robot
2026-08-01 21:43:28 +00:00
parent 350d554b45
commit f66e7efe2b
+1 -3
View File
@@ -1,9 +1,7 @@
import java.util.Properties
pluginManagement {
val flutterSdkPath =
run {
val properties = Properties()
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" }