Skip to content
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

Update dependency rules_java to v8.9.0 #383

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 19, 2024

This PR contains the following updates:

Package Type Update Change
rules_java bazel_dep minor 8.3.2 -> 8.9.0

Release Notes

bazelbuild/rules_java (rules_java)

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.

v8.8.0

Compare Source

Changes since 8.7.2
c69bae2 Update rules_java to 8.8.0 and java_tools to 13.15
ba93bb2 Reorganize @rules_java//java/test and @rules_java//test/ to mirror the directory layout of the code paths they exercise

MODULE.bazel setup

bazel_dep(name = "rules_java", version = "8.8.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.8.0/rules_java-8.8.0.tar.gz",
    ],
    sha256 = "f79a6e10cdd213ceded45884914bb8c68f0c8d41144e74ec89ebb74984c409ac",
)

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.7.2

Compare Source

Changes since 8.7.1
f26a240 Release @rules_java v8.7.2
5d36db2 Make java_stub_template.txt visible to @bazel_tools
61be667 Load CcInfo from @rules_cc

MODULE.bazel setup

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

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.7.2/rules_java-8.7.2.tar.gz",
    ],
    sha256 = "b0b8b7b2cfbf575112acf716ec788847929f322efa5c34195eb12a43d1df7e5c",
)

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.7.1

Compare Source

Changes since 8.7.0
b2a4426 Release @rules_java v8.7.1
ff22cba Stop wrapping JavaInfo into native instances
90aad63 Make java_stub_template.txt visible to Bazel tests

MODULE.bazel setup

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

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.7.1/rules_java-8.7.1.tar.gz",
    ],
    sha256 = "52e7c1f297bb0c5bcbc79743922682071f6968738e73a2a039b92bad9278a469",
)

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.7.0

Compare Source

Changes since 8.6.3
503773e Update rules_java to 8.7.0 and java_tools to 13.14
b4b0466 Move java_stub_template.txt out of Bazel and into @rules_java
4e2b65f Fix buildifier warning suppression for @rules_java
43ca043 Add JDK 21 toolchain for linux_riscv64
97177fb Mark compatibility_proxy extension as reproducible

MODULE.bazel setup

bazel_dep(name = "rules_java", version = "8.7.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.7.0/rules_java-8.7.0.tar.gz",
    ],
    sha256 = "5449ed36d61269579dd9f4b0e532cd131840f285b389b3795ae8b4d717387dd8",
)

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.6.3

Compare Source

Changes since 8.6.2
767e441 Release @rules_java v8.6.3
4e38b17 Implement android_common.enable_implicit_sourceless_deps_exports_compatibility in rules_java
b3a0580 Don't attempt to enable the Security Manager for jdk >= 24

MODULE.bazel setup

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

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.6.3/rules_java-8.6.3.tar.gz",
    ],
    sha256 = "6d8c6d5cd86fed031ee48424f238fa35f33abc9921fd97dd4ae1119a29fc807f",
)

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.6.2

Compare Source

Changes since 8.6.1
449303e Add incompatible_language_version_bootclasspath flag
4cb426e Release @rules_java v8.6.2
fd9e39c Make @rules_java//java:http_jar.bzl compatible with Bazel 6
084b75a Remove duplication in @rules_java presubmit config

MODULE.bazel setup

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

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.6.2/rules_java-8.6.2.tar.gz",
    ],
    sha256 = "a64ab04616e76a448c2c2d8165d836f0d2fb0906200d0b7c7376f46dd62e59cc",
)

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.6.1

Compare Source

Changes since 8.6.0
2847c0e Release @rules_java v8.6.1
934c1b2 Fix proto_support.bzl for Bazel

MODULE.bazel setup

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

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.6.1/rules_java-8.6.1.tar.gz",
    ],
    sha256 = "c5bc17e17bb62290b1fd8fdd847a2396d3459f337a7e07da7769b869b488ec26",
)

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.6.0

Compare Source

Changes since 8.5.1
36a3669 Release @rules_java v8.6.0
4206c53 Revert bootstrap_runtime_toolchain_type changes
a04ab3c Remove java_binary.classlist
c22454f Build bootclasspath in a UTF-8 environment
6b37b15 Rename rules_java runfiles package BUILD.bazel -> BUILD
c81497b Add back bzl_library deps to @rules_java//java/common for maintaining backwards compatibility

MODULE.bazel setup

bazel_dep(name = "rules_java", version = "8.6.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.6.0/rules_java-8.6.0.tar.gz",
    ],
    sha256 = "8475fae7a95463a4fd323a46b0f5601f89863ba019afa358cc9fa1d0e67cdd63",
)

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.5.1

Compare Source

Changes since 8.5.0
5890537 Release @rules_java v8.5.1
4bebd03 Overhaul @rules_java bzl_library dep graph
a22cec1 Update @rules_java release notes
f81734b Add links to documentation to the rules_java README

MODULE.bazel setup

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

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.5.1/rules_java-8.5.1.tar.gz",
    ],
    sha256 = "1389206b2208c5f33a05dd96e51715b0855c480c082b7bb4889a8e07fcff536c",
)

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.5.0

Compare Source

Changes since 8.4.0
349608c Release rules_java v8.5.0
97a3dfb Remove top-level usage of native java_common in java_toolchain.bzl
8bc4290 Release rules_java v8.5.0-rc2
7170aea Release rules_java v8.5.0-rc1
bc4a03f Add runfiles library to release archive
a156fe9 Move (and enable) remaining java rules & providers out of @_builtins

MODULE.bazel setup

bazel_dep(name = "rules_java", version = "8.5.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.5.0/rules_java-8.5.0.tar.gz",
    ],
    sha256 = "5c215757b9a6c3dd5312a3cdc4896cef3f0c5b31db31baa8da0d988685d42ae4",
)

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 to work
### consider using the protobuf_deps() public API from @​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.4.0

Compare Source

New Features

  • The java runfiles library is now provided by rules_java (6bb5306)

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.4.0/rules_java-8.4.0.tar.gz",
    ],
    sha256 = "aff2f902f660928ea566e3002f46fc19caa496427c8a264ce578934dd10ef103",
)
load("@​rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
rules_java_dependencies()
rules_java_toolchains()

Using the rules

See the source.
------------------------ snip ----------------------------


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

View the repository job log

@github-actions github-actions bot added dependencies Pull requests that update a dependency file lang-java Java rules specific labels Nov 19, 2024
@renovate renovate bot changed the title Update dependency rules_java to v8.4.0 Update dependency rules_java to v8.5.0 Nov 20, 2024
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 42e7e69 to 2e52a58 Compare November 20, 2024 11:06
@renovate renovate bot changed the title Update dependency rules_java to v8.5.0 Update dependency rules_java to v8.5.1 Nov 22, 2024
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 2e52a58 to 7556644 Compare November 22, 2024 14:51
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 7556644 to 5706668 Compare December 3, 2024 14:41
@renovate renovate bot changed the title Update dependency rules_java to v8.5.1 Update dependency rules_java to v8.6.0 Dec 3, 2024
@renovate renovate bot changed the title Update dependency rules_java to v8.6.0 Update dependency rules_java to v8.6.1 Dec 4, 2024
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 5706668 to f674914 Compare December 4, 2024 13:09
@renovate renovate bot changed the title Update dependency rules_java to v8.6.1 Update dependency rules_java to v8.6.2 Dec 6, 2024
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from f674914 to 1c61512 Compare December 6, 2024 11:50
@renovate renovate bot changed the title Update dependency rules_java to v8.6.2 Update dependency rules_java to v8.6.3 Dec 19, 2024
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 1c61512 to c96a883 Compare December 19, 2024 16:23
@renovate renovate bot changed the title Update dependency rules_java to v8.6.3 Update dependency rules_java to v8.7.0 Jan 15, 2025
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from c96a883 to 90b7381 Compare January 15, 2025 05:04
@renovate renovate bot changed the title Update dependency rules_java to v8.7.0 Update dependency rules_java to v8.7.1 Jan 19, 2025
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 90b7381 to 659ce6f Compare January 19, 2025 08:55
@renovate renovate bot changed the title Update dependency rules_java to v8.7.1 Update dependency rules_java to v8.7.2 Jan 26, 2025
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 659ce6f to cfa1b40 Compare January 26, 2025 08:30
@renovate renovate bot changed the title Update dependency rules_java to v8.7.2 Update dependency rules_java to v8.8.0 Jan 30, 2025
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from cfa1b40 to 7c3f35e Compare January 30, 2025 14:00
@renovate renovate bot changed the title Update dependency rules_java to v8.8.0 Update dependency rules_java to v8.9.0 Feb 6, 2025
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 7c3f35e to 43082a7 Compare February 6, 2025 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file lang-java Java rules specific
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants