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

chore(deps): update dependency rules_java to v8 #54

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 12, 2024

This PR contains the following updates:

Package Type Update Change
rules_java bazel_dep major 7.12.4 -> 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 ----------------------------

v8.3.2

Compare Source

------------------------ snip ----------------------------
New Features

Incompatible Changes

Change Log
TBD

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.3.2/rules_java-8.3.2.tar.gz",
    ],
    sha256 = "9b9614f8a7f7b7ed93cb7975d227ece30fe7daed2c0a76f03a5ee37f69e437de",
)
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 ----------------------------

v8.3.1

Compare Source

------------------------ snip ----------------------------
New Features

  • http_jar from @bazel_tools is now available in rules_java

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.3.1/rules_java-8.3.1.tar.gz",
    ],
    sha256 = "ee786b943e00da4fea7c233e70e5f5b8a01cc69b9341b3f49169f174fe0df1c5",
)
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 ----------------------------

v8.3.0

Compare Source

New Features

  • Redirect to native rules for Bazel < 8

Incompatible Changes

Change Log

WORKSPACE setup

load("@&#8203;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.3.0/rules_java-8.3.0.tar.gz",
    ],
    sha256 = "c7bd858a132c7b8febe040a90fa138c2e3e7f0bce47122ac2ad43906036a276c",
)
load("@&#8203;rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
rules_java_dependencies()
rules_java_toolchains()

Using the rules

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

v8.2.0

Compare Source

------------------------ snip ----------------------------
New Features

Incompatible Changes

Change Log
TBD

WORKSPACE setup

load("@&#8203;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.2.0/rules_java-8.2.0.tar.gz",
    ],
    sha256 = "c86a51fb2baf3cfd60c4f7c158df8f7a4c2066b3908107c181f2c7e8aa413a3e",
)
load("@&#8203;rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
rules_java_dependencies()
rules_java_toolchains()

Using the rules

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

v8.1.0

Compare Source

------------------------ snip ----------------------------
New Features

Incompatible Changes

Change Log
TBD

WORKSPACE setup

load("@&#8203;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.1.0/rules_java-8.1.0.tar.gz",
    ],
    sha256 = "a4151b0b482020f90b81e82f6e75be0e9ba180af1e5addf2fd4ec1b064246119",
)
load("@&#8203;rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
rules_java_dependencies()
rules_java_toolchains()

Using the rules

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

v8.0.1

Compare Source

------------------------ snip ----------------------------
New Features

Incompatible Changes

Change Log
TBD

WORKSPACE setup

load("@&#8203;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.0.1/rules_java-8.0.1.tar.gz",
    ],
    sha256 = "8114b538b0f1f5269c49a77e15bbad82c0a9c5a24da4ca30f68072b4f2521bef",
)
load("@&#8203;rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
rules_java_dependencies()
rules_java_toolchains()

Using the rules

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

v8.0.0

Compare Source

New Features

  • The java rules can now be loaded and used from this repo (with Bazel v7.3.2 and later)

Incompatible Changes

WORKSPACE setup

load("@&#8203;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.0.0/rules_java-8.0.0.tar.gz",
    ],
    sha256 = "17c35cd055ddda90b3f3df8711189da7fb1af8e7091747c0734b5743dc0d3c61",
)
load("@&#8203;rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
rules_java_dependencies()
rules_java_toolchains()

Using the rules

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


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 becomes conflicted, 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 force-pushed the renovate/rules_java-8.x branch 3 times, most recently from 396f552 to b7eea66 Compare November 22, 2024 15:33
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch 3 times, most recently from 6abf7cf to bbd83fd Compare December 6, 2024 10:41
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch 2 times, most recently from 1f5b82e to a9e8c20 Compare December 19, 2024 18:48
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch 2 times, most recently from fa11dda to caa975e Compare January 17, 2025 13:48
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch 2 times, most recently from df6056b to 5f19cd3 Compare January 30, 2025 12:31
@renovate renovate bot force-pushed the renovate/rules_java-8.x branch from 5f19cd3 to 34e5fed Compare February 6, 2025 18:10
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