Update dependency rules_java to v8 #19
Open
+3
−3
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.
Note
Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to
mend[bot]
.This notice will be removed on 2025-10-07.
This PR contains the following updates:
7.3.1
->8.16.1
7.3.1
->8.16.1
Release Notes
bazelbuild/rules_java (rules_java)
v8.16.1
Compare Source
Changes since 8.16.0
39cae30
Update the compilation JDK to 25 (#323)MODULE.bazel setup
WORKSPACE setup
With Bazel 8.0.0 and before 8.3.0, add the following to your file:
In all cases, add the following to your file:
Using the rules
See the source.
v8.16.0
Compare Source
Changes since 8.15.2
7a625ca
Add JDK 25 (#319)faaab40
Use@bazel_features
for rules_java compatibility proxy4bd56d5
chore: Support remote_file_urls and remote_file_integrity in extension (#315)MODULE.bazel setup
WORKSPACE setup
With Bazel 8.0.0 and before 8.3.0, add the following to your file:
In all cases, add the following to your file:
Using the rules
See the source.
v8.15.2
Compare Source
Changes since 8.15.1
52aa53a
Add a module extension for registering local/remote jdks (#312)MODULE.bazel setup
WORKSPACE setup
With Bazel 8.0.0 and before 8.3.0, add the following to your file:
In all cases, add the following to your file:
Using the rules
See the source.
v8.15.1
Compare Source
Changes since 8.15.0
45061b3
Fix Java coverage support on Windows by adding coverage_main_class to launch_info (#311)MODULE.bazel setup
WORKSPACE setup
With Bazel 8.0.0 and before 8.3.0, add the following to your file:
In all cases, add the following to your file:
Using the rules
See the source.
v8.15.0
Compare Source
Changes since 8.14.0
c0462f0
Update rules_java to 8.15.0 (#309)bbb99fa
rules_java: Rename CcInfo#transitive_native_libraries to _legacy_transitive_native_librariesd8246a4
Automatic code cleanup.MODULE.bazel setup
WORKSPACE setup
With Bazel 8.0.0 and before 8.3.0, add the following to your file:
In all cases, add the following to your file:
Using the rules
See the source.
v8.14.0
Compare Source
Changes since 8.13.0
3b9ca99
Update tojava_tools
v16.0
0b94d21
Use root test_deps target from bazel_skylib (#306)aec334a
Migrate from deprecated cc_linking_context.libraries_to_link to cc_linking_context.linker_inputs.librariesd3f3408
Make C++ toolchain explicitly not mandatory3daed1a
Update@rules_java
CI to use Bazel8.3.0
MODULE.bazel setup
WORKSPACE setup
With Bazel 8.0.0 and before 8.3.0, add the following to your file:
In all cases, add the following to your file:
Using the rules
See the source.
v8.13.0
Compare Source
Changes since 8.12.0
d1e335a
Releaserules_java
v8.13.0
c289c72
Updatejava_tools
v15.0
d927aa0
Fix Runfiles docs after #301 (#302)1a2c184
use DefaultInfo in rules_java (#303)1947744
Add support for--incompatible_compact_repo_mapping_manifest
(#301)fecb9fb
Remove a reference to incompatible_disallow_java_import_empty_jars after unknown commita75e722
Inmake_non_strict
,header_compilation_direct_deps
should be the same ascompile_jars
, notfull_compile_jars
ae8a5b2
Initial support for header compilation direct deps899c2b7
Improve the error message for no matching bootclasspath (#296)0af04ab
Replace asserts on library_identifier with static_libraryMODULE.bazel setup
WORKSPACE setup
With Bazel 8.0.0 and before 8.3.0, add the following to your file:
In all cases, add the following to your file:
Using the rules
See the source.
v8.12.0
Compare Source
IMPORTANT: Bazel 8 users still using WORKSPACE please note the change in the setup below.
Changes since 8.11.0
808f849
Use thelauncher_maker
toolchain if available (#294)042e9a6
Use@platforms//host
instead of@local_config_platform
4ce6ca9
Validatejava_common.compile(strict_deps)
in Starlark94426d1
Fix case handling ofjava_common.compile(strict_deps)
1d2eecd
Remove support for empty jars attribute from java_import86962f9
Change deprecation message to be more helpful for java_proto_library/java_lite_proto_library9fac3ac
Configure coverage helpers for the test exec group (#292)4b5e2a9
Fix empty jars check for Bazel java_importad510ed
Remove usages of--incompatible_disable_non_executable_java_binary
2779574
Thetest_class
of ajava_test
for JUnit4 does not have to have@RunWith
.bf2fb43
Fix commentda9eee2
Fix classpath separator when cross-compiling from Windows to Unix (#290)bd9c5f8
Change type ofoutput_licenses
fromattr.license
toattr.string_list
.804e93e
Update tojava_tools
v14.0
(#286)05ee692
Add ppc64le platform support (#274)1b5a8b2
Set use_default_shell_env = True consistently. (#276)MODULE.bazel setup
WORKSPACE setup
With Bazel 8.0.0 and before 8.3.0, add the following to your file:
In all cases, add the following to your file:
Using the rules
See the source.
v8.11.0
Compare Source
Changes since 8.10.0
c100754
Update rules_java to 8.11.0 and java_tools to 13.18 (#280)16e6f4d
Test with Bazel 8 for rules_java BCR releasesca202de
Improve rules_java CI configaef7514
Add java_library outputs to validation outputsMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.10.0
Compare Source
Changes since 8.9.0
8b3a998
Release@rules_java
v8.10.0
784f519
Updatejava_tools
v13.17
e829603
Add a separate config for Bazel 8 to rules_java CI250bbdc
Switch rules_java back to more named params (quasi-rollback of unknown commit)31edc44
Add make variables for runfiles location of $(JAVABASE) to support --no_legacy_external_runfiles. (#272)02ab5e6
Delete toolchains/BUILD.java_tools.6090866
Extract legacy native symbols to a separate bzl fileaf504cf
Renameextra_processor_classes
toprocessor_classes
for processor bundle support6f2db13
EnforcecheckLegalityOfPluginOptions
check on-AgeneratesKotlin
javacopts.MODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.9.0
Compare Source
Changes since 8.8.0
34d7e1b
Update rules_java to 8.9.0 and java_tools to 13.169d2f73e
Ignore theexec_group_compatible_with
attribute injava_binary
transitive validation collection93fdd8a
Add a test asseting that the JavaInfo returned by java_binary targets are marked as such.4aa6673
Improveandroid_support_tests.bzl
MODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.8.0
Compare Source
Changes since 8.7.2
c69bae2
Update rules_java to 8.8.0 and java_tools to 13.15ba93bb2
Reorganize@rules_java//java/test
and@rules_java//test/
to mirror the directory layout of the code paths they exerciseMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.7.2
Compare Source
Changes since 8.7.1
f26a240
Release@rules_java
v8.7.2
5d36db2
Makejava_stub_template.txt
visible to@bazel_tools
61be667
LoadCcInfo
from@rules_cc
MODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.7.1
Compare Source
Changes since 8.7.0
b2a4426
Release@rules_java
v8.7.1
ff22cba
Stop wrappingJavaInfo
into native instances90aad63
Makejava_stub_template.txt
visible to Bazel testsMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.7.0
Compare Source
Changes since 8.6.3
503773e
Update rules_java to 8.7.0 and java_tools to 13.14b4b0466
Movejava_stub_template.txt
out of Bazel and into@rules_java
4e2b65f
Fix buildifier warning suppression for@rules_java
43ca043
Add JDK 21 toolchain forlinux_riscv64
97177fb
Markcompatibility_proxy
extension as reproducibleMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.6.3
Compare Source
Changes since 8.6.2
767e441
Release@rules_java
v8.6.3
4e38b17
Implementandroid_common.enable_implicit_sourceless_deps_exports_compatibility
in rules_javab3a0580
Don't attempt to enable the Security Manager for jdk >= 24MODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.6.2
Compare Source
Changes since 8.6.1
449303e
Addincompatible_language_version_bootclasspath
flag4cb426e
Release@rules_java
v8.6.2
fd9e39c
Make@rules_java//java:http_jar.bzl
compatible with Bazel 6084b75a
Remove duplication in@rules_java
presubmit configMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.6.1
Compare Source
Changes since 8.6.0
2847c0e
Release@rules_java
v8.6.1
934c1b2
Fixproto_support.bzl
for BazelMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.6.0
Compare Source
Changes since 8.5.1
36a3669
Release@rules_java
v8.6.0
4206c53
Revertbootstrap_runtime_toolchain_type
changesa04ab3c
Removejava_binary.classlist
c22454f
Build bootclasspath in a UTF-8 environment6b37b15
Renamerules_java
runfiles packageBUILD.bazel
->BUILD
c81497b
Add backbzl_library
deps to@rules_java//java/common
for maintaining backwards compatibilityMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.5.1
Compare Source
Changes since 8.5.0
5890537
Release@rules_java
v8.5.1
4bebd03
Overhaul@rules_java
bzl_library dep grapha22cec1
Update@rules_java
release notesf81734b
Add links to documentation to the rules_java READMEMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.5.0
Compare Source
Changes since 8.4.0
349608c
Releaserules_java
v8.5.0
97a3dfb
Remove top-level usage of nativejava_common
in java_toolchain.bzl8bc4290
Releaserules_java
v8.5.0-rc2
7170aea
Releaserules_java
v8.5.0-rc1
bc4a03f
Add runfiles library to release archivea156fe9
Move (and enable) remaining java rules & providers out of@_builtins
MODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.4.0
Compare Source
New Features
6bb5306
)WORKSPACE setup
Using the rules
See the source.
------------------------ snip ----------------------------
v8.3.2
Compare Source
------------------------ snip ----------------------------
New Features
Incompatible Changes
Change Log
TBD
WORKSPACE setup
Using the rules
See the source.
------------------------ snip ----------------------------
v8.3.1
Compare Source
------------------------ snip ----------------------------
New Features
@bazel_tools
is now available in rules_javaWORKSPACE setup
Using the rules
See the source.
------------------------ snip ----------------------------
v8.3.0
Compare Source
New Features
Incompatible Changes
Change Log
WORKSPACE setup
Using the rules
See the source.
------------------------ snip ----------------------------
v8.2.0
Compare Source
------------------------ snip ----------------------------
New Features
Incompatible Changes
Change Log
TBD
WORKSPACE setup
Using the rules
See the source.
------------------------ snip ----------------------------
v8.1.0
Compare Source
------------------------ snip ----------------------------
New Features
Incompatible Changes
Change Log
TBD
WORKSPACE setup
Using the rules
See the source.
------------------------ snip ----------------------------
v8.0.1
Compare Source
------------------------ snip ----------------------------
New Features
Incompatible Changes
Change Log
TBD
WORKSPACE setup
Using the rules
See the source.
------------------------ snip ----------------------------
v8.0.0
Compare Source
New Features
Incompatible Changes
WORKSPACE setup