Skip to content

Releases: bazelbuild/rules_java

8.6.3

19 Dec 15:15
Compare
Choose a tag to compare

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.

7.12.4

11 Dec 12:44
d40a177
Compare
Choose a tag to compare

------------------------ 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/7.12.4/rules_java-7.12.4.tar.gz",
    ],
    sha256 = "302bcd9592377bf9befc8e41aa97ec02df12813d47af9979e4764f3ffdcc5da8",
)
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 ----------------------------

8.6.2

06 Dec 08:36
Compare
Choose a tag to compare

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.

8.6.1

04 Dec 09:55
Compare
Choose a tag to compare

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.

8.6.0

03 Dec 10:52
Compare
Choose a tag to compare

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.

7.12.3

03 Dec 11:03
0344771
Compare
Choose a tag to compare

------------------------ 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/7.12.3/rules_java-7.12.3.tar.gz",
    ],
    sha256 = "c0ee60f8757f140c157fc2c7af703d819514de6e025ebf70386d38bdd85fce83",
)
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 ----------------------------

8.5.1

22 Nov 13:01
Compare
Choose a tag to compare

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.

8.5.0

20 Nov 08:36
Compare
Choose a tag to compare

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.

8.5.0-rc2

19 Nov 18:00
Compare
Choose a tag to compare

Changes since 8.4.0
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-rc2")

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-rc2/rules_java-8.5.0-rc2.tar.gz",
    ],
    sha256 = "2886753bfd831a0675bf5dfe11eb8020c1091a09538f47f72c85de195384890f",
)

load("@rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
load("@com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features")  # buildifier: disable=bzl-visibility
proto_bazel_features(name = "proto_bazel_features")
load("@rules_java//java:repositories.bzl", "rules_java_toolchains")
rules_java_toolchains()

Using the rules
See the source.

8.5.0-rc1

19 Nov 17:01
Compare
Choose a tag to compare

Changes since 8.4.0
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-rc1")

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-rc1/rules_java-8.5.0-rc1.tar.gz",
    ],
    sha256 = "49cda1b3870b10d558cab3b25e7cf3c4d0ee3c09270112c3c206c53f49f66b36",
)

load("@rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
rules_java_dependencies()
load("@com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features")  # buildifier: disable=bzl-visibility
proto_bazel_features(name = "proto_bazel_features")
load("@rules_java//java:repositories.bzl", "rules_java_toolchains")
rules_java_toolchains()

Using the rules
See the source.