let the embedding maven engine dependency reference the storage proxy (#56164)

This commit is contained in:
xster
2020-05-07 11:36:02 -07:00
committed by GitHub
parent 8fbfe1cfbf
commit f6b47a5f35
6 changed files with 93 additions and 10 deletions

View File

@@ -648,12 +648,13 @@ void printHowToConsumeAar({
1. Open ${fileSystem.path.join('<host>', 'app', 'build.gradle')}
2. Ensure you have the repositories configured, otherwise add them:
String storageUrl = System.env.FLUTTER_STORAGE_BASE_URL ?: "storage.googleapis.com"
repositories {
maven {
url '${repoDirectory.path}'
}
maven {
url 'https://storage.googleapis.com/download.flutter.io'
url 'https://\$storageUrl/download.flutter.io'
}
}