Skip to content

0.0.4

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Mar 09:39
· 136 commits to main since this release

Change Log

  • Normalize javac options to avoid duplicate -source, -target or --release flags

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.4/rules_jdt.tar.gz",
    ],
    sha256 = "a3dd3ca343c79dcc44745070ced36d949bf2f97912d6bf546a54c6f6b50cc840",
)
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.