2024-03-05 12:51:46 +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
|
|
|
|
}()
|
|
|
|
|
|
|
|
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
|
2022-03-04 14:20:01 +03:00
|
|
|
|
2024-03-05 12:51:46 +03:00
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
mavenCentral()
|
|
|
|
gradlePluginPortal()
|
|
|
|
}
|
|
|
|
resolutionStrategy {
|
|
|
|
eachPlugin {
|
|
|
|
// https://github.com/google/play-services-plugins/issues/223
|
|
|
|
if (requested.id.id == "com.google.android.gms.oss-licenses-plugin") {
|
|
|
|
useModule("com.google.android.gms:oss-licenses-plugin:${requested.version}")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-03-04 14:20:01 +03:00
|
|
|
|
2024-03-05 12:51:46 +03:00
|
|
|
plugins {
|
|
|
|
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
2024-07-03 15:20:14 +03:00
|
|
|
id "com.android.application" version "8.5.0" apply false
|
|
|
|
id "org.jetbrains.kotlin.android" version "2.0.0" apply false
|
|
|
|
id "org.jetbrains.kotlin.plugin.serialization" version "2.0.0" apply false
|
2024-03-05 12:51:46 +03:00
|
|
|
id "com.google.android.gms.oss-licenses-plugin" version "0.10.6" apply false
|
|
|
|
}
|
2022-03-04 14:20:01 +03:00
|
|
|
|
2024-03-05 12:51:46 +03:00
|
|
|
include ':app'
|