From a1c6825653c1851c738739313152a57e98de30cc Mon Sep 17 00:00:00 2001 From: PiTrem Date: Tue, 16 Jul 2024 13:54:13 +0200 Subject: [PATCH] fixup!: revert some changes --- android/settings.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/android/settings.gradle b/android/settings.gradle index 536165d..1fda31a 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -1,3 +1,11 @@ +def localPropertiesFile = new File(rootProject.projectDir, "local.properties") +def properties = new Properties() +assert localPropertiesFile.exists() +localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } +def flutterSdkPath = properties.getProperty("flutter.sdk") +assert flutterSdkPath != null, "flutter.sdk not set in local.properties" +apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" + pluginManagement { def flutterSdkPath = { def properties = new Properties()