Skip to content

chore(deps): update dependency rules_java to v8.11.0 #453

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 6, 2025

This PR contains the following updates:

Package Type Update Change
rules_java http_archive minor 8.8.0 -> 8.11.0

Release Notes

bazelbuild/rules_java (rules_java)

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 releases
ca202de Improve rules_java CI config
aef7514 Add java_library outputs to validation outputs
d649cd8 Migrate the JavaStarlarkApiTest.testJavaCommonCompileExposesOutputJarProvider test to Starlark
066193e Migrate the JavaStarlarkApiTest.javaPlugin_exposesJavaOutputs test to Starlark
69416a8 Migrate the JavaStarlarkApiTest.testExposesJavaCommonProvider test to Starlark
7ea6427 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithManifestProto_javaRuleOutputJarsProvider test to Starlark
bcd1de8 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithNativeHeaders_javaRuleOutputJarsProvider test to Starlark
73f0bc0 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithCompileJdeps_javaRuleOutputJarsProvider test to Starlark
554ca8c Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithGeneratedJars_javaGenJarsProvider test to Starlark
19903d5 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithGeneratedJars_javaRuleOutputJarsProvider test to Starlark
3e5f818 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithJdeps_javaRuleOutputJarsProvider test to Starlark
d59acd9 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithOutputJarAndStampJar test to Starlark
4fc371b Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithPlugins test to Starlark
4f28748 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoPluginsFromExports test to Starlark
d254714 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoExportProvider001 test to Starlark
cc186d5 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoExportProvider test to Starlark
65d7c62 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoExportProviderExportsDepsAdded test to Starlark
cdb3c48 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoJavaSourceJarsProviderAndTransitiveRuntimeDeps test to Starlark
965ec76 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoJavaSourceJarsProviderAndTransitiveDeps test to Starlark
3105872 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoJavaSourceJarsProviderAndRuntimeDeps test to Starlark
9f340ac Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoSourceJarsProviderWithDeps test to Starlark
a792026 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithSourcesFilesAndSourcesJars test to Starlark
310b644 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithSourcesFiles test to Starlark
6da6693 Migrate the JavaInfoStarlarkApiTest.buildHelperPackSources_repackSingleJar test to Starlark
2d01682 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoSourceJarsProviderWithSourceJars test to Starlark
780f2ac Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithDepsAndNeverLink test to Starlark
6263674 Migrate the JavaInfoStarlarkApiTest.javaInfo_setNativeLibraries test to Starlark
0a6d102 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithRunTimeDeps test to Starlark
08fa9f7 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithDeps test to Starlark
63e326f Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoJavaRuleOutputJarsProviderSourceJarOutputJarAndUseIJar test to Starlark
b8f1597 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithOutputJarAndUseIJar test to Starlark
20175c7 Migrate the JavaInfoStarlarkApiTest.buildHelperCreateJavaInfoWithOutputJarOnly test to Starlark

MODULE.bazel setup

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

WORKSPACE setup

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.11.0/rules_java-8.11.0.tar.gz",
    ],
    sha256 = "d31b6c69e479ffa45460b64dc9c7792a431cac721ef8d5219fc9f603fa2ff877",
)

load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
### 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.

v8.10.0

Compare Source

Changes since 8.9.0
8b3a998 Release @rules_java v8.10.0
784f519 Update java_tools v13.17
3d75749 Internal change
e829603 Add a separate config for Bazel 8 to rules_java CI
fca8eb9 Add a test that java_binary(stamp = -1) does not override default stamping
fe2e139 Add a test for java_common.compile() with a custom bootclasspathinfo and empty bootclasspath
8b95028 Add a test for java_common.compile() with a custom bootclasspath
2ffef4a Add another test for extending compile time jdeps
3bed9dc Add a test for extending compile time jdeps
5d4442e Add a test for java_common.JavaPluginInfo
31566a6 Internal change
f5748b3 Add a test for java_common.compile()
832cf12 Internal change
eb4d15a Add a test for java_common.compile with exports and no sources
250bbdc 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.
ea19ca4 Add a test for java_common.compile(sourcepath = ...)
6090866 Extract legacy native symbols to a separate bzl file
290ffee Migrate javaLibrary_propagatesDirectCcLinkingInformation to Starlark
b57046a Migrate the javaInfo_exposesCcLinkingInformation test to Starlark
af504cf Rename extra_processor_classes to processor_classes for processor bundle support
6f2db13 Enforce checkLegalityOfPluginOptions check on -AgeneratesKotlin javacopts.

MODULE.bazel setup

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

WORKSPACE setup

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.10.0/rules_java-8.10.0.tar.gz",
    ],
    sha256 = "476bd403f284e5080037f1910a29ce4c482ac798a3560c2e0df6d6f1857011b6",
)

load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
### 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.

v8.9.0

Compare Source

Changes since 8.8.0
34d7e1b Update rules_java to 8.9.0 and java_tools to 13.16
9d2f73e Ignore the exec_group_compatible_with attribute in java_binary transitive validation collection
93fdd8a Add a test asseting that the JavaInfo returned by java_binary targets are marked as such.
4aa6673 Improve android_support_tests.bzl

MODULE.bazel setup

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

WORKSPACE setup

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.9.0/rules_java-8.9.0.tar.gz",
    ],
    sha256 = "8daa0e4f800979c74387e4cd93f97e576ec6d52beab8ac94710d2931c57f8d8b",
)

load("@​rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
### 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 - At any time (no schedule defined), 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.

@renovate renovate bot requested review from rrbutani, jsharpe and fmeum as code owners February 6, 2025 17:43
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch 4 times, most recently from b5abcec to 1015129 Compare February 15, 2025 18:07
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch 2 times, most recently from 9e4362d to b8da1da Compare February 28, 2025 20:32
@renovate renovate bot changed the title chore(deps): update dependency rules_java to v8.9.0 chore(deps): update dependency rules_java to v8.10.0 Mar 4, 2025
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch 3 times, most recently from bc0cda1 to ea04b5c Compare March 6, 2025 09:43
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch 2 times, most recently from 16fae65 to 350abd7 Compare March 12, 2025 13:47
@renovate renovate bot changed the title chore(deps): update dependency rules_java to v8.10.0 chore(deps): update dependency rules_java to v8.11.0 Mar 13, 2025
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 350abd7 to a435137 Compare March 13, 2025 11:26
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.

0 participants