Skip to content

update [email protected], [email protected], [email protected] #19325

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

Closed

Conversation

dulmandakh
Copy link
Contributor

@dulmandakh dulmandakh commented May 17, 2018

Now we use build tools version 26, and makes it possible to use android gradle plugin 2.3.3 (requires build tools 25), gradle 3.x for improved build performance and developer experience. Also it will help targeting SDK 26 easier.

Android gradle plugin to 2.3.3 requires gradle version 3.3 or above, and gradle download task version 3.2.0 and above supports gradle version 3.3. Therefore, it's better to use latest gradle 3.x or 3.5, and gradle download task 3.4.0.

Test Plan

React Native and apps will build much faster and run as before.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label May 17, 2018
@react-native-bot react-native-bot added ✅Test Plan Missing Changelog This PR appears to be missing a changelog, or they are incorrectly formatted. labels May 17, 2018
@pull-bot
Copy link

Warnings
⚠️

📋 Release Notes - This PR appears to be missing Release Notes.

Generated by 🚫 dangerJS

@gengjiawen
Copy link
Contributor

Why not just 3.1.2 and gradle 4 ?

@dulmandakh
Copy link
Contributor Author

it has no breaking changes, but performance improvements. if we move to gradle plugin 3 or above, we need to deal with aapt2 and other breaking changes. as for now, aapt2 breaks compilation, and need to disable it explicitly.

@gengjiawen
Copy link
Contributor

Then for me it's not neccessary to upgrade a middle version. And I thinks it's total okay to disable aapt2 since google not put much attension to it.

@dulmandakh
Copy link
Contributor Author

You're free to choose your gradle and gradle plugin version for your project, it'll override react native. I use build tools 27 and latest gradle for my own.

But for react native, we need smooth transition because many people depend on it

@dulmandakh
Copy link
Contributor Author

new PR #19697

@dulmandakh dulmandakh closed this Jun 13, 2018
@dulmandakh dulmandakh deleted the update-gradle-plugin-2.3.3 branch June 21, 2018 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Missing Changelog This PR appears to be missing a changelog, or they are incorrectly formatted.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants