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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bump gradle to 5.0 #23324

Closed
wants to merge 7 commits into from
Closed

bump gradle to 5.0 #23324

wants to merge 7 commits into from

Conversation

dulmandakh
Copy link
Contributor

@dulmandakh dulmandakh commented Feb 7, 2019

Summary

This PR bumps gradle to 5.0, which includes Kotlin DSL 1.0. Also Gradle 5.x requires Java 8.

This is preparation for Kotlin DSL migration.

Changelog

[Android] [Changed] - Bump Gradle to 5.0

Test Plan

CI is green, and RNTester builds, runs as normal.

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor. Partner labels Feb 7, 2019
@dulmandakh
Copy link
Contributor Author

It was easy because we were tracking Gradle, plugins and addressed deprecation warnings on timely manner 👍

@hramos
Copy link
Contributor

hramos commented Feb 7, 2019

Thank you, looks like tests are passing. We'll need to bump the Gradle version used to populate our offline cache internally as well when we import this. Are there any concerns with how this may affect end users?

@dulmandakh
Copy link
Contributor Author

It may affects users/developers who have custom gradle scripts (brownfield apps) that use removed APIs. We've been fixing deprecation warnings, thus have no issue with this upgrade.

@dulmandakh
Copy link
Contributor Author

@hramos tested it locally before submitting the PR, and confirmed that RNTester works just fine.

@cpojer cpojer removed their request for review February 7, 2019 10:17
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@hramos has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Copy link
Contributor

@hramos hramos left a comment

Choose a reason for hiding this comment

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

I've upgraded to Gradle 5.0 in the internal version of this PR. The internal diff was approved by @mdvacca.

@dulmandakh there is a separate PR that bumps Gradle to 4.10.3. Which version do you recommend we got with?

@dulmandakh
Copy link
Contributor Author

dulmandakh commented Feb 12, 2019 via email

@dulmandakh dulmandakh changed the title bump gradle to 5.0, android gradle plugin to 3.3.1 bump gradle to 5.0 Feb 15, 2019
@dulmandakh
Copy link
Contributor Author

@hramos remove Android Gradle Plugin bump to create another PR and cherry pick to 0.59 branch.

facebook-github-bot pushed a commit that referenced this pull request Feb 15, 2019
Summary:
Bump Android Plugin to 3.3.1, with many bug fixes and performance improvements. Split the change from #23324 to make cherry-pick easy to 0.59 branch.

[Android] [Changed] - bump Android Plugin to 3.3.1
Pull Request resolved: #23473

Differential Revision: D14099741

Pulled By: cpojer

fbshipit-source-id: 7491c49cd2467f1bb8776345bdda2ab9cea11c06
grabbou pushed a commit that referenced this pull request Feb 15, 2019
Summary:
Bump Android Plugin to 3.3.1, with many bug fixes and performance improvements. Split the change from #23324 to make cherry-pick easy to 0.59 branch.

[Android] [Changed] - bump Android Plugin to 3.3.1
Pull Request resolved: #23473

Differential Revision: D14099741

Pulled By: cpojer

fbshipit-source-id: 7491c49cd2467f1bb8776345bdda2ab9cea11c06
@react-native-bot
Copy link
Collaborator

@dulmandakh merged commit b4017a9 into facebook:master.

@facebook facebook locked as resolved and limited conversation to collaborators Feb 20, 2019
@react-native-bot react-native-bot added the Merged This PR has been merged. label Feb 20, 2019
mbardauskas pushed a commit to mbardauskas/react-native that referenced this pull request Feb 21, 2019
Summary:
This PR bumps gradle to 5.0, which includes Kotlin DSL 1.0, and android gradle plugin to 3.3.1, which includes includes various bug fixes and performance improvements. Also Gradle 5.x requires Java 8.

This is preparation for Kotlin DSL migration.

[Android] [Changed] - Bump Gradle to 5.0

Pull Request resolved: facebook#23324

Reviewed By: mdvacca

Differential Revision: D14028563

Pulled By: hramos

fbshipit-source-id: 61fe1a2d4ea5707d6f07945acbd950f852420e13
@dulmandakh dulmandakh deleted the gradle-50 branch February 22, 2019 14:20
kelset pushed a commit that referenced this pull request Jun 5, 2019
Summary:
This PR bumps gradle to 5.0, which includes Kotlin DSL 1.0, and android gradle plugin to 3.3.1, which includes includes various bug fixes and performance improvements. Also Gradle 5.x requires Java 8.

This is preparation for Kotlin DSL migration.

[Android] [Changed] - Bump Gradle to 5.0

Pull Request resolved: #23324

Reviewed By: mdvacca

Differential Revision: D14028563

Pulled By: hramos

fbshipit-source-id: 61fe1a2d4ea5707d6f07945acbd950f852420e13
douglowder pushed a commit to react-native-tvos/react-native-tvos that referenced this pull request Sep 11, 2019
Summary:
This PR bumps gradle to 5.0, which includes Kotlin DSL 1.0, and android gradle plugin to 3.3.1, which includes includes various bug fixes and performance improvements. Also Gradle 5.x requires Java 8.

This is preparation for Kotlin DSL migration.

[Android] [Changed] - Bump Gradle to 5.0

Pull Request resolved: facebook/react-native#23324

Reviewed By: mdvacca

Differential Revision: D14028563

Pulled By: hramos

fbshipit-source-id: 61fe1a2d4ea5707d6f07945acbd950f852420e13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor. Merged This PR has been merged. Partner Platform: Android Android applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants