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

Changes needed for gradle 3.0.1 compatibility #975

Closed
pacamara opened this issue Jan 19, 2018 · 8 comments
Closed

Changes needed for gradle 3.0.1 compatibility #975

pacamara opened this issue Jan 19, 2018 · 8 comments

Comments

@pacamara
Copy link

Some minor changes are needed for gradle 3.0.1 compatibility: in android/build.gradle:

We are currently hacking these changes with a script in status.im, and would rather it is fixed upstream. Thanks!

Parent issue: status-im/status-mobile#3037

@nitaliano
Copy link
Owner

Will this have any complications with apps that are created with react-native init?

@pacamara
Copy link
Author

Yes, it turns out to be a breaking change for apps authored with react-native init, requiring manual changes to the generated code to fix. Please see software-mansion/react-native-svg#581 (comment) A solution could be to provide a separate gradle 3 tag?

@nitaliano
Copy link
Owner

I personally hate being on an older version of gradle and would love to get this into master instead of it being on a tag. Someone opened a PR on react native to upgrade gradle recently facebook/react-native#17747 would like to see what happens with this PR before attempting to create a gradle3 tag

@msand
Copy link

msand commented Jan 26, 2018

I very much agree here. Developing and debugging native code for android has improved significantly with the version changes in my PR. Requiring manual changes or monkey-patching for all newcomers just to get the same benefits seems counter productive, unless there are actual blocking changes which need to be fixed anyway instead.

@nitaliano
Copy link
Owner

@pacamara it doesn't appear like the PR I mentioned above will be merged in anytime soon, and I will also need gradle3 in an upcoming app so when I do that I'll cut a gradle3 tag for people to use

@pacamara
Copy link
Author

@nitaliano Got it, thanks Nick.

@johncadengo
Copy link

Is this still an open issue? What version of gradle is compatible?

@kristfal
Copy link
Collaborator

We're now aligned with RN59, so this should now longer be an issue.

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

No branches or pull requests

5 participants