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

fix: remove _JAVA_OPTIONS parameter & environment #172

Merged
merged 1 commit into from
May 23, 2024

Conversation

devnev
Copy link
Contributor

@devnev devnev commented Jul 15, 2023

Users should set org.gradle.jvmargs in their gradle.properties instead.
This fixes #171 where build failures caused by the unexpected output from java commands.

BREAKING CHANGE: The java_options parameter has been removed. Specify your JVM options in the gradle.properties file or in the gradle_options with -Dorg.gradle.jvmargs= instead.

@devnev
Copy link
Contributor Author

devnev commented Jul 15, 2023

Have checked

./scripts/pack.sh && circleci orb validate packed-orb.yml
Orb at `packed-orb.yml` is valid.

Copy link
Member

@cortinico cortinico left a comment

Choose a reason for hiding this comment

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

This is a breaking change so it will require a major bump

@devnev
Copy link
Contributor Author

devnev commented Jul 15, 2023

Indeed. Is there anything else worth updating as part of a breaking change? Could bump the default for build_image_version, node_version, xcode_version.

@devnev
Copy link
Contributor Author

devnev commented Jul 15, 2023

Also worth noting for this PR that UseContainerSupport is enabled by default

@devnev
Copy link
Contributor Author

devnev commented Jul 15, 2023

Do I need to do anything so that the semver bot understands the breaking change?

@cortinico
Copy link
Member

Do I need to do anything so that the semver bot understands the breaking change?

Yup we use semantic-release:
https://semantic-release.gitbook.io/semantic-release/v/beta/

So your PR/Commit message should be updated

@bhandanyan-nomad
Copy link
Contributor

Can this PR get merged?

@fotos fotos merged commit a7d373e into react-native-community:main May 23, 2024
6 checks passed
react-native-circleci-orb-bot pushed a commit that referenced this pull request May 23, 2024
# [8.0.0](v7.4.0...v8.0.0) (2024-05-23)

### Bug Fixes

* remove _JAVA_OPTIONS parameter & environment (closes [#171](#171)) ([d737af9](d737af9))

* Merge pull request #172 from devnev/no-java-options-env ([a7d373e](a7d373e)), closes [#172](#172)

### BREAKING CHANGES

* The java_options parameter has been removed. Specify your JVM options in the gradle.properties file or in the gradle_options with -Dorg.gradle.jvmargs= instead.
@react-native-circleci-orb-bot
Copy link
Collaborator

🎉 This PR is included in version 8.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

_JAVA_OPTIONS can cause builds to fail
5 participants