2024-06-07 20:08:07 +02: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
|
|
|
|
}
|
|
|
|
settings.ext.flutterSdkPath = flutterSdkPath()
|
2024-04-09 22:58:19 +02:00
|
|
|
|
2024-06-07 20:08:07 +02:00
|
|
|
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
|
2024-04-09 22:58:19 +02:00
|
|
|
|
2024-06-07 20:08:07 +02:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
2024-04-09 22:58:19 +02:00
|
|
|
|
2024-06-07 20:08:07 +02:00
|
|
|
plugins {
|
|
|
|
id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
|
|
|
id "com.android.application" version "7.3.0" apply false
|
|
|
|
}
|
|
|
|
|
|
|
|
include ":app"
|