2023-11-18 13:51:52 +03: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
|
2024-10-05 17:49:08 +03:00
|
|
|
}()
|
2023-01-15 17:51:26 +03:00
|
|
|
|
2024-10-05 17:49:08 +03:00
|
|
|
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
|
2023-01-15 17:51:26 +03:00
|
|
|
|
2023-11-18 13:51:52 +03:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
|
|
|
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
2025-03-12 22:21:22 +03:00
|
|
|
id "com.android.application" version "8.9.0" apply false
|
|
|
|
id "org.jetbrains.kotlin.android" version "2.1.10" apply false
|
2023-11-18 13:51:52 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
include ":app"
|