Last active
June 10, 2020 15:36
-
-
Save marcos-bah/9fd39eb31187d919280aa7573a8b7a86 to your computer and use it in GitHub Desktop.
Resolução para: [firebase_core_web , firebase_auth_web, cloud_firestore_web ] Plugin project :firebase_auth_web not found. Please update settings.gradle.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app -> android -> settings.gradle | |
// Please add this in flutte | |
def flutterProjectRoot = rootProject.projectDir.parentFile.toPath() | |
def plugins = new Properties() | |
def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins') | |
if (pluginsFile.exists()) { | |
pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) } | |
} | |
plugins.each { name, path -> | |
def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile() | |
include ":$name" | |
project(":$name").projectDir = pluginDirectory | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment