mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-05 16:08:46 +00:00
28 lines
953 B
Groovy
28 lines
953 B
Groovy
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
|
||
}()
|
||
|
||
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
|
||
|
||
repositories {
|
||
google()
|
||
mavenCentral()
|
||
gradlePluginPortal()
|
||
}
|
||
}
|
||
|
||
plugins {
|
||
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
||
id "com.android.application" version '8.12.1' apply false
|
||
// Flutter 3.47 requires KGP >= 2.2.20; use 2.3.20 so KGP stays in the
|
||
// documented AGP 8.12 compatibility range (Kotlin 2.3 ↔ AGP 8.2.2–8.13).
|
||
id "org.jetbrains.kotlin.android" version "2.3.20" apply false
|
||
id "com.google.gms.google-services" version "4.3.10" apply false
|
||
}
|
||
|
||
include ":app" |