Skip to content

8.5.0-rc1

Compare
Choose a tag to compare
@bazel-io bazel-io released this 19 Nov 17:01
· 1 commit to master since this release

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.