Update dependency rules_java to v9 - autoclosed #26
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.
This PR contains the following updates:
7.3.1->9.0.37.3.1->9.0.3Release Notes
bazelbuild/rules_java (rules_java)
v9.0.3Compare Source
Changes since 9.0.2
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.
v9.0.2Compare Source
Changes since 9.0.1
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.
v9.0.1Compare Source
Changes since 9.0.0
b1376ddAdd support for an unstripped bootclasspathMODULE.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.
v9.0.0Compare Source
Changes since 8.16.1
a27004aUpdate JDKs to latest patch releases (#335)76212e6Include the srcjar (if there is one) in the _validation output group so blaze will check whether the srcjar file actually exists.402b184upgrade java_tools to 17.0 and wire up linux aarch64 prebuilts (#334)36264e4Update zulu JDKs to latest patch release (#327) (#328)7ff9193Fix test class determination error message (#326)1ed307bIncrease maxwarns to -1 (#291)3257e83Re-enableReturnValueIgnorederror prone check6a30ab8Run the bootclasspath through ijar (#324)3cbc18eUpdate abseil-cpp to remove override (#322)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.1Compare Source
Changes since 8.16.0
39cae30Update 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.0Compare Source
Changes since 8.15.2
7a625caAdd JDK 25 (#319)faaab40Use@bazel_featuresfor rules_java compatibility proxy4bd56d5chore: 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.2Compare Source
Changes since 8.15.1
52aa53aAdd 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.1Compare Source
Changes since 8.15.0
45061b3Fix 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.0Compare Source
Changes since 8.14.0
c0462f0Update rules_java to 8.15.0 (#309)bbb99farules_java: Rename CcInfo#transitive_native_libraries to _legacy_transitive_native_librariesd8246a4Automatic 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.0Compare Source
Changes since 8.13.0
3b9ca99Update tojava_toolsv16.00b94d21Use root test_deps target from bazel_skylib (#306)aec334aMigrate from deprecated cc_linking_context.libraries_to_link to cc_linking_context.linker_inputs.librariesd3f3408Make C++ toolchain explicitly not mandatory3daed1aUpdate@rules_javaCI to use Bazel8.3.0MODULE.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.0Compare Source
Changes since 8.12.0
d1e335aReleaserules_javav8.13.0c289c72Updatejava_toolsv15.0d927aa0Fix Runfiles docs after #301 (#302)1a2c184use DefaultInfo in rules_java (#303)1947744Add support for--incompatible_compact_repo_mapping_manifest(#301)fecb9fbRemove a reference to incompatible_disallow_java_import_empty_jars after unknown commita75e722Inmake_non_strict,header_compilation_direct_depsshould be the same ascompile_jars, notfull_compile_jarsae8a5b2Initial support for header compilation direct deps899c2b7Improve the error message for no matching bootclasspath (#296)0af04abReplace 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.0Compare Source
IMPORTANT: Bazel 8 users still using WORKSPACE please note the change in the setup below.
Changes since 8.11.0
808f849Use thelauncher_makertoolchain if available (#294)042e9a6Use@platforms//hostinstead of@local_config_platform4ce6ca9Validatejava_common.compile(strict_deps)in Starlark94426d1Fix case handling ofjava_common.compile(strict_deps)1d2eecdRemove support for empty jars attribute from java_import86962f9Change deprecation message to be more helpful for java_proto_library/java_lite_proto_library9fac3acConfigure coverage helpers for the test exec group (#292)4b5e2a9Fix empty jars check for Bazel java_importad510edRemove usages of--incompatible_disable_non_executable_java_binary2779574Thetest_classof ajava_testfor JUnit4 does not have to have@RunWith.bf2fb43Fix commentda9eee2Fix classpath separator when cross-compiling from Windows to Unix (#290)bd9c5f8Change type ofoutput_licensesfromattr.licensetoattr.string_list.804e93eUpdate tojava_toolsv14.0(#286)05ee692Add ppc64le platform support (#274)1b5a8b2Set 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.0Compare Source
Changes since 8.10.0
c100754Update rules_java to 8.11.0 and java_tools to 13.18 (#280)16e6f4dTest with Bazel 8 for rules_java BCR releasesca202deImprove rules_java CI configaef7514Add java_library outputs to validation outputsMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.10.0Compare Source
Changes since 8.9.0
8b3a998Release@rules_javav8.10.0784f519Updatejava_toolsv13.17e829603Add a separate config for Bazel 8 to rules_java CI250bbdcSwitch rules_java back to more named params (quasi-rollback of unknown commit)31edc44Add make variables for runfiles location of $(JAVABASE) to support --no_legacy_external_runfiles. (#272)02ab5e6Delete toolchains/BUILD.java_tools.6090866Extract legacy native symbols to a separate bzl fileaf504cfRenameextra_processor_classestoprocessor_classesfor processor bundle support6f2db13EnforcecheckLegalityOfPluginOptionscheck on-AgeneratesKotlinjavacopts.MODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.9.0Compare Source
Changes since 8.8.0
34d7e1bUpdate rules_java to 8.9.0 and java_tools to 13.169d2f73eIgnore theexec_group_compatible_withattribute injava_binarytransitive validation collection93fdd8aAdd a test asseting that the JavaInfo returned by java_binary targets are marked as such.4aa6673Improveandroid_support_tests.bzlMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.8.0Compare Source
Changes since 8.7.2
c69bae2Update rules_java to 8.8.0 and java_tools to 13.15ba93bb2Reorganize@rules_java//java/testand@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.2Compare Source
Changes since 8.7.1
f26a240Release@rules_javav8.7.25d36db2Makejava_stub_template.txtvisible to@bazel_tools61be667LoadCcInfofrom@rules_ccMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.7.1Compare Source
Changes since 8.7.0
b2a4426Release@rules_javav8.7.1ff22cbaStop wrappingJavaInfointo native instances90aad63Makejava_stub_template.txtvisible to Bazel testsMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.7.0Compare Source
Changes since 8.6.3
503773eUpdate rules_java to 8.7.0 and java_tools to 13.14b4b0466Movejava_stub_template.txtout of Bazel and into@rules_java4e2b65fFix buildifier warning suppression for@rules_java43ca043Add JDK 21 toolchain forlinux_riscv6497177fbMarkcompatibility_proxyextension as reproducibleMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.6.3Compare Source
Changes since 8.6.2
767e441Release@rules_javav8.6.34e38b17Implementandroid_common.enable_implicit_sourceless_deps_exports_compatibilityin rules_javab3a0580Don't attempt to enable the Security Manager for jdk >= 24MODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.6.2Compare Source
Changes since 8.6.1
449303eAddincompatible_language_version_bootclasspathflag4cb426eRelease@rules_javav8.6.2fd9e39cMake@rules_java//java:http_jar.bzlcompatible with Bazel 6084b75aRemove duplication in@rules_javapresubmit configMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.6.1Compare Source
Changes since 8.6.0
2847c0eRelease@rules_javav8.6.1934c1b2Fixproto_support.bzlfor BazelMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.6.0Compare Source
Changes since 8.5.1
36a3669Release@rules_javav8.6.04206c53Revertbootstrap_runtime_toolchain_typechangesa04ab3cRemovejava_binary.classlistc22454fBuild bootclasspath in a UTF-8 environment6b37b15Renamerules_javarunfiles packageBUILD.bazel->BUILDc81497bAdd backbzl_librarydeps to@rules_java//java/commonfor maintaining backwards compatibilityMODULE.bazel setup
WORKSPACE setup
Using the rules
See the source.
v8.5.1Compare Source
Changes since 8.5.0
5890537Release@rules_javav8.5.14bebd03Overhaul@rules_javabzl_library dep grapha22cec1Update@rules_javarelease notesf81734bAdd links to documentation to the rules_java READMEMODULE.bazel setup
WORKSPACE setup