Skip to content

chore(deps): update dependency rules_java to v8.12.0 #670

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

Merged
merged 1 commit into from
May 24, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 24, 2025

This PR contains the following updates:

Package Type Update Change
rules_java bazel_dep minor 8.11.0 -> 8.12.0

Release Notes

bazelbuild/rules_java (rules_java)

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 the launcher_maker toolchain if available (#​294)
042e9a6 Use @platforms//host instead of @local_config_platform
4ce6ca9 Validate java_common.compile(strict_deps) in Starlark
94426d1 Fix case handling of java_common.compile(strict_deps)
1d2eecd Remove support for empty jars attribute from java_import
86962f9 Change deprecation message to be more helpful for java_proto_library/java_lite_proto_library
9fac3ac Configure coverage helpers for the test exec group (#​292)
4b5e2a9 Fix empty jars check for Bazel java_import
ad510ed Remove usages of --incompatible_disable_non_executable_java_binary
2779574 The test_class of a java_test for JUnit4 does not have to have @RunWith.
bf2fb43 Fix comment
da9eee2 Fix classpath separator when cross-compiling from Windows to Unix (#​290)
bd9c5f8 Change type of output_licenses from attr.license to attr.string_list.
804e93e Update to java_tools v14.0 (#​286)
05ee692 Add ppc64le platform support (#​274)
1b5a8b2 Set use_default_shell_env = True consistently. (#​276)

MODULE.bazel setup

bazel_dep(name = "rules_java", version = "8.12.0")

WORKSPACE setup

With Bazel 8.0.0 and before 8.3.0, add the following to your file:

### https://github.com/bazelbuild/bazel/pull/26119
common --repositories_without_autoloads=bazel_features_version,bazel_features_globals

In all cases, add the following to your file:

load("@​bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_java",
    urls = [
        "https://github.com/bazelbuild/rules_java/releases/download/8.12.0/rules_java-8.12.0.tar.gz",
    ],
    sha256 = "1558508fc6c348d7f99477bd21681e5746936f15f0436b5f4233e30832a590f9",
)

load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()

load("@​bazel_features//:deps.bzl", "bazel_features_deps")
bazel_features_deps()
### note that the following line is what is minimally required from protobuf for the java rules
### consider using the protobuf_deps() public API from @​com_google_protobuf//:protobuf_deps.bzl
load("@​com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features")  # buildifier: disable=bzl-visibility
proto_bazel_features(name = "proto_bazel_features")
### register toolchains
load("@​rules_java//java:repositories.bzl", "rules_java_toolchains")
rules_java_toolchains()

Using the rules
See the source.


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

cloudflare-workers-and-pages bot commented May 24, 2025

Deploying moonbase-flippy-mem with  Cloudflare Pages  Cloudflare Pages

Latest commit: 13ca7ef
Status: ✅  Deploy successful!
Preview URL: https://c262ee4e.moonbase-4zv.pages.dev
Branch Preview URL: https://renovate-rules-java-8-x.moonbase-4zv.pages.dev

View logs

Copy link

cloudflare-workers-and-pages bot commented May 24, 2025

Deploying moonbase-golf with  Cloudflare Pages  Cloudflare Pages

Latest commit: 13ca7ef
Status: ✅  Deploy successful!
Preview URL: https://166f4533.moonbase-golf.pages.dev
Branch Preview URL: https://renovate-rules-java-8-x.moonbase-golf.pages.dev

View logs

@renovate renovate bot force-pushed the renovate/rules_java-8.x branch 3 times, most recently from 01b8511 to 50a3a83 Compare May 24, 2025 13:45
@aaylward aaylward enabled auto-merge (squash) May 24, 2025 14:39
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 50a3a83 to 2f60382 Compare May 24, 2025 14:39
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 2f60382 to 13ca7ef Compare May 24, 2025 14:41
@aaylward aaylward merged commit f7897f8 into main May 24, 2025
7 checks passed
@aaylward aaylward deleted the renovate/rules_java-8.x branch May 24, 2025 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant