mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 16:32:01 +03:00
36 lines
1.2 KiB
Groovy
36 lines
1.2 KiB
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()
|
|
}
|
|
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}")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
|
|
id "com.android.application" version "8.2.2" apply false
|
|
id "org.jetbrains.kotlin.android" version "1.9.22" apply false
|
|
id "org.jetbrains.kotlin.plugin.serialization" version "1.9.22" apply false
|
|
id "com.google.android.gms.oss-licenses-plugin" version "0.10.6" apply false
|
|
}
|
|
|
|
include ':app'
|