diff options
author | Orangerot <purple@orangerot.dev> | 2024-12-16 16:04:07 +0100 |
---|---|---|
committer | Orangerot <purple@orangerot.dev> | 2024-12-17 09:08:55 +0100 |
commit | 08f2adb6397557ac27cf3780aa8f8222cbc51982 (patch) | |
tree | f9ee48a8f120e9bcb93f6f172fd88a89f3d45372 /android/settings.gradle |
Initial Commit
Diffstat (limited to 'android/settings.gradle')
-rw-r--r-- | android/settings.gradle | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/android/settings.gradle b/android/settings.gradle new file mode 100644 index 0000000..b9e43bd --- /dev/null +++ b/android/settings.gradle @@ -0,0 +1,25 @@ +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 + }() + + 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.1.0" apply false + id "org.jetbrains.kotlin.android" version "1.8.22" apply false +} + +include ":app" |