22 lines
522 B
Groovy
22 lines
522 B
Groovy
pluginManagement {
|
|
def flutterSdkPath
|
|
def properties = new Properties()
|
|
file("local.properties").withInputStream { properties.load(it) }
|
|
flutterSdkPath = properties.getProperty("flutter.sdk")
|
|
assert flutterSdkPath != null : "flutter.sdk not set in local.properties"
|
|
|
|
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "dev.flutter.flutter-gradle-plugin"
|
|
}
|
|
|
|
include ":app"
|