v0.0.1
What's Changed
First release! Features include:
java_test_suite
to generate test targets from aglob
of sources.java_junit5_test
to allow JUnit5 tests to be run. This is a drop-in replacement forjava_test
, and is integrated intojava_test_suite
if therunner = "junit5"
attribute is set.- Integation of apple_rules_lint providing linters for checkstyle, pmd, and spotbugs. This is done via macros for
java_library
,java_test
, andjava_export
.
Usage
In your WORKSPACE
file, add:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_jvm",
sha256 = "39ddc3b35f42ca42fd7f9fc0d912d75201264f58aac3e37ed16cb4ed203654e2",
strip_prefix = "rules_jvm-0.0.1",
url = "https://github.com/bazel-contrib/rules_jvm/archive/v0.0.1.tar.gz",
)
# Fetches the contrib_rules_jvm dependencies.
# If you want to have a different version of some dependency,
# you should fetch it *before* calling this.
load("@contrib_rules_jvm//:repositories.bzl", "contrib_rules_jvm_deps")
contrib_rules_jvm_deps()
# Now ensure that the downloaded deps are properly configured
load("@contrib_rules_jvm//:setup.bzl", "contrib_rules_jvm_setup")
contrib_rules_jvm_setup()
Full Changelog: https://github.com/bazel-contrib/rules_jvm/commits/v0.0.1