-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[8.0.0] Update rules_java
v8.5.0
and stop exporting builtins java rules and symbols
#24414
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2063d6c
to
3b70913
Compare
PiperOrigin-RevId: 695293041 Change-Id: I06c293ee1c8ef119d37c3c2188763914041d55fd (cherry picked from commit da1aba9)
PiperOrigin-RevId: 695310715 Change-Id: I55fc8f5e61f9a7f508d1fb77d30c64790c18fb82 (cherry picked from commit 84e6698)
Needed for when the main repository is `rules_java` PiperOrigin-RevId: 695621150 Change-Id: I66ff003dcf063ecf7905accfc83a4babedd2d34c (cherry picked from commit 66ea9a0)
Before this, changing the value of `--enable_bzlmod` did not invalidate the existing skyframe precomputed value as the instances were considered the same/equal (see `src/main/java/com/google/devtools/build/skyframe/AbstractInMemoryMemoizingEvaluator.java#pruneInjectedValues`) Fixes bazelbuild/rules_python#2387 PiperOrigin-RevId: 695696010 Change-Id: I136f2bec4e2c668d020f6cb1a7d3200f7523e5a0 (cherry picked from commit a5b6c30)
da1aba9 introduces `BuiltinsJavaInfo`, which uses a different provider type (`LEGACY_BUILTINS_PROVIDER`). This information needs to be encoded along with the serialized provider fields for the deserializer to re-instantiate it back to `BuiltinsJavaInfo` instead of `JavaInfo`. PiperOrigin-RevId: 695991580 Change-Id: I3b7a5b87a2619d83ca6e7d3a3eee0349769b0640 (cherry picked from commit dc4fb9c)
…r use in `WORKSPACE` mode PiperOrigin-RevId: 696033794 Change-Id: I0d49b21567a82f673694c558bbcb8a08950559f3 (cherry picked from commit 5b09ab6)
…`@_builtins` Mostly just adds `load` statements everywhere. PiperOrigin-RevId: 696496082 Change-Id: I5dfc4a58c2c9dffd144b2488fd33a8e665b88db1 (cherry picked from commit 00c1b7b)
PiperOrigin-RevId: 697081436 Change-Id: I135693ec26f937f0439939578437f5ce1eec3ffa (cherry picked from commit 09c848f)
PiperOrigin-RevId: 697649173 Change-Id: If48cefaae8bb5c6c845ed05de70b2e682c070c15 (cherry picked from commit 89c634f)
This logic has been ported to starlark, this method is unused. PiperOrigin-RevId: 688987600 Change-Id: I932fb9a5f40ded4f5b253d2b447045e52a610656 (cherry picked from commit b3badd3)
PiperOrigin-RevId: 685617340 Change-Id: I78937da0298740aa1cf8f09a21c847818a94bea0 (cherry picked from commit 24c3f24)
`java_common` needs to remain (minimally exported) for private APIs PiperOrigin-RevId: 698412708 Change-Id: I58708761e7abbc63013f75276b1cd1f98c11430f (cherry picked from commit ae3262f)
3b70913
to
a16d6df
Compare
rules_java
v8.5.0
and drop builtin JavaInfo / JavaPluginInfo rules_java
v8.5.0
and stop exporting builtins java rules and symbols
I just realized this will break documentation, will need another fix for that. |
Wyverald
approved these changes
Nov 20, 2024
…pedia. PiperOrigin-RevId: 698443050 Change-Id: Ibd7baccd8ef8e865d5006ecc8f19cb135a174ad5 (cherry picked from commit 117d711)
This is good to go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #24405
Fixes #24178