Files

26 lines
728 B
Groovy
Raw Permalink Normal View History

2024-11-10 11:18:08 +08:00
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
}()
2020-11-06 18:04:04 +08:00
2024-11-10 11:18:08 +08:00
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
2020-11-06 18:04:04 +08:00
2024-11-10 11:18:08 +08:00
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
2020-11-06 18:04:04 +08:00
2024-11-10 11:18:08 +08:00
plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
2026-09-01 00:29:51 +10:00
id "com.android.application" version "8.10.1" apply false
2025-06-01 17:58:03 +08:00
id "org.jetbrains.kotlin.android" version "2.1.21" apply false
2024-11-10 11:18:08 +08:00
}
include ":app"