Skip to content

Download our own copy of gradle wrapper. - #13267

Merged
jakobr-google merged 1 commit into
flutter:masterfrom
jakobr-google:wraps
Dec 1, 2017
Merged

jakobr-google merged 1 commit into
flutter:masterfrom
jakobr-google:wraps

Conversation

@jakobr-google

Copy link
Copy Markdown
Contributor

Rather than depending on android.googlesource.com for hosting the gradle
wrapper, host our own copy on storage.googleapis.com (along with our
other artifacts).

Also added a script to repackage AOSP's version into ours, in case we
ever need to update it.

Addresses the gradle wrapper part of #11681.

Rather than depending on android.googlesource.com for hosting the gradle
wrapper, host our own copy on storage.googleapis.com (along with our
other artifacts).

Also added a script to repackage AOSP's version into ours, in case we
ever need to update it.

Addresses the gradle wrapper part of flutter#11681.

@mravn-google mravn-google left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -0,0 +1,77 @@
#!/bin/bash

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonder how much easier this would be (to read), if written in Dart...

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this also need a Windows version? We can't run bash scripts on Windows.

I second the suggestion to do all this in Dart, unless there's a reason we need to do this before we have downloaded the Dart toolchain.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not something I expect anyone to have to do. It's only there in case we need to repackage a new version of the wrapper. It's certainly not something an end-user would do.

@jakobr-google
jakobr-google merged commit 5174dba into flutter:master Dec 1, 2017
@jakobr-google
jakobr-google deleted the wraps branch December 1, 2017 08:39
DaveShuckerow pushed a commit to DaveShuckerow/flutter that referenced this pull request May 14, 2018
Rather than depending on android.googlesource.com for hosting the gradle
wrapper, host our own copy on storage.googleapis.com (along with our
other artifacts).

Also added a script to repackage AOSP's version into ours, in case we
ever need to update it.

Addresses the gradle wrapper part of flutter#11681.
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants