Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Gradle Wrapper to 5.6.4 #3004

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

friederbluemle
Copy link
Contributor

This fully updates all 4 Gradle Wrappers contained in this repo to 5.6.4.

As you can see in the diff, it does not actually change the distributionUrl in gradle-wrapper.properties (it was already set to 5.6.4). However, according to the sha256sum of the gradle-wrapper.jar files, they had not been touched since Gradle 2.10 馃く (initially added to this repo on Nov 19 2017 - 947aab2) The wrapper scripts (i.e. gradlew/gradlew.bat) were also missing many updates that went into newer releases of Gradle.

With the changes here, all files associated with Gradle Wrapper are updated to match the version 5.6.4 distribution of Gradle.

@friederbluemle
Copy link
Contributor Author

Rebased onto latest master branch. Please let me know if there are any questions!

@friederbluemle
Copy link
Contributor Author

Rebased onto latest master branch.

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you know why we need the all distribution (with gradle source code) vs bin?

cc @jcesarmobile

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As you mentioned, all includes additional sources that makes it easier to work with Gradle scripts. On top of that, it's the default distribution that is used by new projects generated with Android Studio, as well as new projects initialized with the React Native CLI. That makes it much more likely to already exist in the local cache on a developer's machine, saving an additional download.

@imhoffd imhoffd self-assigned this Jun 30, 2020
@imhoffd imhoffd merged commit 3a2244c into ionic-team:master Jun 30, 2020
@imhoffd
Copy link
Contributor

imhoffd commented Jun 30, 2020

Thank you @friederbluemle!! 馃嵒 This will make it into Capacitor 2.3.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants