Skip to content

0.1.5

Compare
Choose a tag to compare
@github-actions github-actions released this 11 Aug 11:42
· 89 commits to main since this release
e624254

New Features

  • Added support for computing the list of generated source files during annotation processing
  • Added support for computing list of used dependencies.
  • Jars not listed as direct dependencies no have all their content configured using forbidden access rules
  • Access rule severity is configured using strict dependency check setting from Bazel

Change Log
commit e624254
Author: Gunnar Wagenknecht gwagenknecht@salesforce.com
Date: Fri Aug 11 13:29:49 2023 +0200

Collect generates source as well as dependency information (#15)

* Switch to using the JDT Batch compiler directly, dropping the use of the tool interface.
* Add support for computing list of generated sources during annotation processing.
* Add support for computing list of used dependencies.
* Add support for configuring access rules based on strict dependency checking.

commit bf805f2
Author: Gunnar Wagenknecht gunnar@wagenknecht.org
Date: Sun Jul 23 14:49:36 2023 -0700

ignore examples

commit 070b978
Author: Gunnar Wagenknecht gunnar@wagenknecht.org
Date: Tue May 16 13:57:56 2023 +0200

Next version

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.1.5/rules_jdt-0.1.5.tar.gz",
    ],
    sha256 = "c49e8f394134ea038c37be6e54916095ecee71c0a68aed51ef7e8556f4dfdac1",
)
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.