summaryrefslogtreecommitdiff
path: root/player-android/android/settings.gradle.kts
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-17 20:18:35 +0300
committerPaul Buetow <paul@buetow.org>2026-05-17 20:18:35 +0300
commit5b1cfb8852009bf3c4ac56ea5ca833fff992864d (patch)
tree5d8dda332f9de2db47b7c508bbd9e7cb241e3048 /player-android/android/settings.gradle.kts
parentc11b7c145fc1b2db6c1ed29a7abd739d0f6cbf3b (diff)
Complete player-android Flutter scaffold
Diffstat (limited to 'player-android/android/settings.gradle.kts')
-rw-r--r--player-android/android/settings.gradle.kts26
1 files changed, 26 insertions, 0 deletions
diff --git a/player-android/android/settings.gradle.kts b/player-android/android/settings.gradle.kts
new file mode 100644
index 0000000..ca7fe06
--- /dev/null
+++ b/player-android/android/settings.gradle.kts
@@ -0,0 +1,26 @@
+pluginManagement {
+ val flutterSdkPath =
+ run {
+ 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" }
+ 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.11.1" apply false
+ id("org.jetbrains.kotlin.android") version "2.2.20" apply false
+}
+
+include(":app")