8.0.0
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("@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("@rules_java//java:repositories.bzl", "rules_java_dependencies", "rules_java_toolchains")
rules_java_dependencies()
rules_java_toolchains()
Using the rules
See the source.
------------------------ snip ----------------------------