diff options
author | Connor Frank <conjfrnk@gmail.com> | 2024-04-01 17:43:00 -0400 |
---|---|---|
committer | Connor Frank <conjfrnk@gmail.com> | 2024-04-01 17:43:00 -0400 |
commit | 4c5ba92b066560e9de76ac14a491d789453617d8 (patch) | |
tree | 66f25c022c195ae5a19149c6e924397f360cc608 /android/settings.gradle |
Initial Commit
Diffstat (limited to 'android/settings.gradle')
-rw-r--r-- | android/settings.gradle | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/android/settings.gradle b/android/settings.gradle new file mode 100644 index 0000000..1d6d19b --- /dev/null +++ b/android/settings.gradle @@ -0,0 +1,26 @@ +pluginManagement { + def flutterSdkPath = { + def properties = new Properties() + file("local.properties").withInputStream { properties.load(it) } + def flutterSdkPath = properties.getProperty("flutter.sdk") + assert flutterSdkPath != null, "flutter.sdk not set in local.properties" + return flutterSdkPath + } + settings.ext.flutterSdkPath = flutterSdkPath() + + includeBuild("${settings.ext.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 "7.3.0" apply false + id "org.jetbrains.kotlin.android" version "1.7.10" apply false +} + +include ":app" |