-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Allow bundle task to be disabled for release #18892
Conversation
I'm not really sure why my builds are breaking. They are breaking on code that has nothing to do with my code. Anyone have ideas? |
The current system would always end up falling back to `true` for release builds
@janicduplessis sorry for the tag, but it looks like you've worked on this file before and I've seen you around the project. I'm getting test failures that have seemingly nothing to do with the code I changed. In fact, I'm not sure how the code I'm changing could have possibly had an effect on It seems like a pretty simple change - anything I can do to get it through? |
@shergin any ideas on how I can get this through? as above, no idea why these tests would fail on this build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hramos is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: The current system would always end up falling back to `true` for release builds Pull Request resolved: facebook#18892 Differential Revision: D14069444 Pulled By: hramos fbshipit-source-id: 16e32a366b3b2e252a98a967da827ba1ebaeff85
Summary: The current system would always end up falling back to `true` for release builds Pull Request resolved: facebook#18892 Differential Revision: D14069444 Pulled By: hramos fbshipit-source-id: 16e32a366b3b2e252a98a967da827ba1ebaeff85
Summary
The current system would always end up falling back to
true
for release buildsTest Plan
bundleInProductionRelease
to false and noticed it still bundled.react.gradle
and ran my build again - this resulted in the correct behaviourfalse
setting and it correctly bundled.A lot of logging revealed that when the
bundleIn${targetName}
flag was set tofalse
, nothing actually changed.Changelog
[ANDROID] [Fixed] Allow disabling of bundling for release builds