mirror of
https://github.com/flutter/flutter
synced 2024-10-12 19:23:02 +00:00
Update Maven URL to https (#52042)
This commit is contained in:
parent
35bf5ab5d0
commit
b8472f25ab
|
@ -57,7 +57,7 @@ void configureProject(Project project, String outputDir) {
|
|||
// as a result, add the dependency on the embedding.
|
||||
project.repositories {
|
||||
maven {
|
||||
url "http://download.flutter.io"
|
||||
url "https://storage.googleapis.com/download.flutter.io"
|
||||
}
|
||||
}
|
||||
String engineVersion = Paths.get(getFlutterRoot(project), "bin", "internal", "engine.version")
|
||||
|
|
|
@ -41,7 +41,7 @@ android {
|
|||
apply plugin: FlutterPlugin
|
||||
|
||||
class FlutterPlugin implements Plugin<Project> {
|
||||
private static final String MAVEN_REPO = "http://download.flutter.io";
|
||||
private static final String MAVEN_REPO = "https://storage.googleapis.com/download.flutter.io";
|
||||
|
||||
// The platforms that can be passed to the `--Ptarget-platform` flag.
|
||||
private static final String PLATFORM_ARM32 = "android-arm";
|
||||
|
|
|
@ -18,7 +18,7 @@ repositories {
|
|||
google()
|
||||
jcenter()
|
||||
maven {
|
||||
url "http://download.flutter.io"
|
||||
url "https://storage.googleapis.com/download.flutter.io"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -637,7 +637,7 @@ ${globals.terminal.bolden('Consuming the Module')}
|
|||
url '${repoDirectory.path}'
|
||||
}
|
||||
maven {
|
||||
url 'http://download.flutter.io'
|
||||
url 'https://storage.googleapis.com/download.flutter.io'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2446,7 +2446,7 @@ plugin1=${plugin1.path}
|
|||
" url 'build/'\n"
|
||||
' }\n'
|
||||
' maven {\n'
|
||||
" url 'http://download.flutter.io'\n"
|
||||
" url 'https://storage.googleapis.com/download.flutter.io'\n"
|
||||
' }\n'
|
||||
' }\n'
|
||||
'\n'
|
||||
|
@ -2498,7 +2498,7 @@ plugin1=${plugin1.path}
|
|||
" url 'build/'\n"
|
||||
' }\n'
|
||||
' maven {\n'
|
||||
" url 'http://download.flutter.io'\n"
|
||||
" url 'https://storage.googleapis.com/download.flutter.io'\n"
|
||||
' }\n'
|
||||
' }\n'
|
||||
'\n'
|
||||
|
@ -2537,7 +2537,7 @@ plugin1=${plugin1.path}
|
|||
" url 'build/'\n"
|
||||
' }\n'
|
||||
' maven {\n'
|
||||
" url 'http://download.flutter.io'\n"
|
||||
" url 'https://storage.googleapis.com/download.flutter.io'\n"
|
||||
' }\n'
|
||||
' }\n'
|
||||
'\n'
|
||||
|
@ -2577,7 +2577,7 @@ plugin1=${plugin1.path}
|
|||
" url 'build/'\n"
|
||||
' }\n'
|
||||
' maven {\n'
|
||||
" url 'http://download.flutter.io'\n"
|
||||
" url 'https://storage.googleapis.com/download.flutter.io'\n"
|
||||
' }\n'
|
||||
' }\n'
|
||||
'\n'
|
||||
|
|
Loading…
Reference in a new issue