Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flip incompatible_disallow_resource_jars flag.
The resource_jars is not supported by java_common.compile function. In order to rewrite java_library to Starlark the call needs to be extended or the feature disabled. Because the migration is relatively simple I'm opting to flip the flag and remove it. RELNOTES[INC]: Flipped --incompatible_disallow_resource_jars (see #13221). Closes #13891. PiperOrigin-RevId: 392427418
- Loading branch information
fec2fdb
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.
Will resource_jars be removed permanently in 5.0 from java_library? I am asking because we will have to refactor a couple of rules due to this change and since we are migrating to Bazel know, better to do it earlier than later
fec2fdb
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.
I updated documentation on the issue #13221. We intend to permanently remove resource_jars after 5.0 release, meaning that in 5.0 you will be still able to flip it back, but not in later releases or in rolling releases.