2024-01-29 02:36:46 +01: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()
|
2022-09-26 13:51:18 +02:00
|
|
|
|
2024-01-29 02:36:46 +01:00
|
|
|
includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
|
2022-09-26 13:51:18 +02:00
|
|
|
|
2024-01-29 02:36:46 +01:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
}
|
2022-09-26 13:51:18 +02:00
|
|
|
|
2024-01-29 02:36:46 +01:00
|
|
|
plugins {
|
|
|
|
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
2024-02-09 01:45:02 +01:00
|
|
|
id "com.android.application" version '7.4.2' apply false
|
2024-01-29 02:36:46 +01:00
|
|
|
id "org.jetbrains.kotlin.android" version "1.8.20" apply false
|
|
|
|
}
|
|
|
|
|
|
|
|
include ":app"
|