Skip to content

1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Jan 19:16
· 26 commits to main since this release

New Features

  • Update ECJ to 4.30
  • Add -Xecj_use_tool_compiler option to use the tool interface, which is
    closer to ECJ command line but lacks support for Bazel features

Incompatible Changes

  • Changed to consuming Turbine directly from rules_java
    (projects are requires to depend on rules_java themselves, we don't include it)

Bug Fixes

  • Fixed none-deterministic .jar_manifest_proto files
  • Fixes a bug causing compile errors due to --release/-target being used
    without preventing -bootclasspath or --system being passed

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/1.0.0/rules_jdt-1.0.0.tar.gz",
    ],
    sha256 = "07b7f9a2b7669bd743e233d53ebbb9a1a2cd71d7ab63010e7da59e622d80fc3f",
)
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.