aboutsummaryrefslogtreecommitdiff
path: root/android/settings.gradle
diff options
context:
space:
mode:
authorTim <contact@bytim.eu>2025-02-08 11:28:57 +0100
committerTim <contact@bytim.eu>2025-02-08 11:28:57 +0100
commitd69bc395e6cc9ed5e1da6a31835874142fe6800e (patch)
tree324cf18c710721c286890d78310ebe0075499ea4 /android/settings.gradle
downloaddistractionless-d69bc395e6cc9ed5e1da6a31835874142fe6800e.tar.xz
distractionless-d69bc395e6cc9ed5e1da6a31835874142fe6800e.zip
Initial commit
Diffstat (limited to 'android/settings.gradle')
-rw-r--r--android/settings.gradle25
1 files changed, 25 insertions, 0 deletions
diff --git a/android/settings.gradle b/android/settings.gradle
new file mode 100644
index 0000000..a42444d
--- /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.2.1" apply false
+ id "org.jetbrains.kotlin.android" version "1.8.22" apply false
+}
+
+include ":app"