Releases: salesforce/bazel-jdt-java-toolchain
Releases · salesforce/bazel-jdt-java-toolchain
0.0.3
New Features
- Support for persistent workers is back
Incompatible Changes
- New toolchain definitions as per Bazel 5
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "bazel_jdt_java_toolchain",
urls = [
"https://github.com/salesforce/bazel-jdt-java-toolchain/releases/download/0.0.3/rules_jdt.tar.gz",
],
sha256 = "085194c3daf854a85d7b3af7065c6e924121132fadb0d863e23ce89915378fe4",
)
load("@bazel_jdt_java_toolchain//jdt:repositories.bzl", "rules_jdt_dependencies", "rules_jdt_toolchains")
rules_jdt_dependencies()
rules_jdt_toolchains()
Using the rules
Use --extra_toolchains=@bazel_jdt_java_toolchain//jdt:all
on the command line (or in .bazelrc
) to enable JDT builder with local JDK for compilation.
See the source.
0.0.1
New Features
This is the first release.
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "bazel_jdt_java_toolchain",
urls = [
"https://github.com/salesforce/bazel-jdt-java-toolchain/releases/download/0.0.1/rules_jdt.tar.gz",
],
sha256 = "b0dc0d25432ebfd6e618dd2c364e9c8bf9accfa9cec238a731d6717e2c518d4f",
)
load("@bazel_jdt_java_toolchain//jdt:repositories.bzl", "rules_jdt_dependencies", "rules_jdt_toolchains")
rules_jdt_dependencies()
rules_jdt_toolchains()
Using the rules
See the source.