diff options
| author | xengineering <me@xengineering.eu> | 2025-12-22 21:25:02 +0100 |
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2025-12-22 21:25:02 +0100 |
| commit | 1e8a6233b8c50fb0ad429d91e2937a7917915347 (patch) | |
| tree | 6984b8927c0d4a78e993ebd19b87c762b3e47213 /android/settings.gradle.kts | |
| parent | f849461c9200a098b9903739b54bf702abfc490b (diff) | |
| download | sia-app-main.tar sia-app-main.tar.zst sia-app-main.zip | |
This was done using the following command.
flutter create \
--description "Sia app" \
--org "eu.xengineering" \
--project-name "sia_app" \
--platforms linux,android \
--empty \
.
Diffstat (limited to 'android/settings.gradle.kts')
| -rw-r--r-- | android/settings.gradle.kts | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/android/settings.gradle.kts b/android/settings.gradle.kts new file mode 100644 index 0000000..ca7fe06 --- /dev/null +++ b/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") |
