Releases: bazel-contrib/rules_jvm
Releases · bazel-contrib/rules_jvm
v0.13.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_jvm",
sha256 = "2b710518847279f655a18a51a1629b033e4406f29609e73eb07ecfb6f0138d25",
strip_prefix = "rules_jvm-0.13.0",
url = "https://github.com/bazel-contrib/rules_jvm/releases/download/v0.13.0/rules_jvm-v0.13.0.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()
What's Changed
- Don't tag builds as prereleases by @illicitonion in #166
- Support parallel test execution in the JUnit5 runner by @fmeum in #169
- Fix Security Manager warning with Java 17 by @rdesgroppes in #171
- Replace ctx.host_configuration with ctx.configuration by @hanikesn in #173
- Add a bzlmod module definition by @shs96c in #170
- Amend release workflow now we have bzlmod in the mix by @shs96c in #174
New Contributors
Full Changelog: v0.12.0...v0.13.0
v0.12.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_jvm",
sha256 = "09c022847c96f24d085e2c82a6174f0ab98218e6e0903d0793d69af9f771a291",
strip_prefix = "rules_jvm-0.12.0",
url = "https://github.com/bazel-contrib/rules_jvm/releases/download/v0.12.0/rules_jvm-v0.12.0.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()
What's Changed
- Make the JUnit5 runner compatible with Java 8 by @fmeum in #134
- Ensure that sysout and syserr are escaped by @shs96c in #161
- Add test sharding support to the JUnit 5 runner by @fmeum in #162
- Use TestExecutionListener in shard test by @fmeum in #164
- Expand on the ability to include the same test in two suites by @tjoneslo in #165
New Contributors
Full Changelog: v0.11.0...v0.12.0
v0.11.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_jvm",
sha256 = "ced72bd69b5f5aa6905b07b8e38e1924de042c181607e1d8519bf5d9f90a897b",
strip_prefix = "rules_jvm-0.11.0",
url = "https://github.com/bazel-contrib/rules_jvm/releases/download/v0.11.0/rules_jvm-v0.11.0.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()
What's Changed
- Simplify testdata lookup by @illicitonion in #159
- Look at annotations on method returns and params by @illicitonion in #160
- gazelle: Generate exports for non-private return types by @illicitonion in #158
Full Changelog: v0.10.0...v0.11.0
v0.10.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_jvm",
sha256 = "d47f8869fb658973708167a8e65c0e117fa46cab93ed5e714468d6b2b2cce3c0",
strip_prefix = "rules_jvm-0.10.0",
url = "https://github.com/bazel-contrib/rules_jvm/releases/download/v0.10.0/rules_jvm-v0.10.0.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()
What's Changed
- Fix up junit reporting by @shs96c in #108
- [junit5] Ensure that completely disabled test classes report their tests by @shs96c in #110
- [junit5] Use the ServiceLoader to discover test engines by @shs96c in #111
- Add a way to exclude maven artifacts from being resolved by @chrismgrayftsinc in #113
- [junit5] Fix serialization of illegal XML characters by @rdesgroppes in #114
- [junit5] Also filter dynamically registered tests by @rdesgroppes in #109
- Improve missing import error message by @tjoneslo in #117
- Fix time attribute format in JUnit 5 test results by @hisener in #116
- Add
.co
to list of common package prefixes by @robertgates55 in #118 - Avoid using the
maven
namespace by @shs96c in #115 - Add
.me
to list of common package prefixes by @luangong in #120 - fix(#104): Allow custom package prefixes by @hjellek in #121
- fix(#104) Added documentation for package_prefixes for java_test_suit… by @hjellek in #122
- gazelle: Add support for rules_jvm_external v2 lockfile by @stevebarrau in #127
- Add support for the Junit5 tags to limit tests withing a class by @tjoneslo in #128
- Fully qualified static method calls by @tjoneslo in #81
- Make sure docs are up to date by @shs96c in #130
- Update Bazel version and rulesets to latest releases by @shs96c in #119
- Do not fail the build if the security manager is disabled by @shs96c in #132
- It is sometimes helpful to know how to generate the lint tests from outside contrib_rules_jvm by @shs96c in #133
- Don't attempt to submit to a shut-down scheduler by @illicitonion in #138
- Revert "Fully qualified static method calls (#81)" by @illicitonion in #131
- release: publish release archive by @alexeagle in #137
- More support for java test suites. by @tjoneslo in #135
- Identify fully-qualified types by @illicitonion in #139
- Blank out line numbers in test expectations by @illicitonion in #141
- Delete unused code by @illicitonion in #143
- Stop duplicating package name in errors by @illicitonion in #144
- Convert junit5 tests to be pure junit5 by @illicitonion in #146
- Allow configuring engine filters by @marcphilipp in #106
- Run google-java-format by @illicitonion in #148
- Remove incorrect statics in imports by @illicitonion in #150
- Fix format by @illicitonion in #151
- Always simplify dep label in caller by @illicitonion in #147
- javaparser returns classes and packages separately by @illicitonion in #145
- Use sorted set instead of manual impl by @illicitonion in #142
- Fix test package by @illicitonion in #149
- Ignore inner classes' empty packages by @illicitonion in #152
- Gazelle flag to pass in maven_install path by @caseyduquettesc in #140
- Share default test file suffixes with java_test_suite by @illicitonion in #156
- feat(gazelle): Keep existing runtime_deps by @stevebarrau in #157
- Test code more accurately detects dependencies by @illicitonion in #153
New Contributors
- @chrismgrayftsinc made their first contribution in #113
- @hisener made their first contribution in #116
- @robertgates55 made their first contribution in #118
- @luangong made their first contribution in #120
- @hjellek made their first contribution in #121
- @alexeagle made their first contribution in #137
- @marcphilipp made their first contribution in #106
- @caseyduquettesc made their first contribution in #140
Full Changelog: v0.9.0...v0.10.0
v0.9.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_jvm",
sha256 = "548f0583192ff79c317789b03b882a7be9b1325eb5d3da5d7fdcc4b7ca69d543",
strip_prefix = "rules_jvm-0.9.0",
url = "https://github.com/bazel-contrib/rules_jvm/archive/refs/tags/v0.9.0.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()
What's Changed
- Upgrade
apple_rules_lint
, addLintInfo
providers for linters by @blorente in #105 - Fix test filter greediness for method names by @rdesgroppes in #93
Full Changelog: v0.8.0...v0.9.0
v0.8.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_jvm",
sha256 = "332135116f0414457bda67afc101dee958dbdc4e62a2481d80882f21ed1f9678",
strip_prefix = "rules_jvm-0.8.0",
url = "https://github.com/bazel-contrib/rules_jvm/archive/refs/tags/v0.8.0.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()
What's Changed
- Allow finding and processing a classname starting with an underscore by @tjoneslo in #98
- Fix NPE when translating
null
exception messages to XML by @rdesgroppes in #96 - Avoid asking users to add things to their
maven
workspace by @shs96c in #100 - checkstyle: Short timeout by default by @stevebarrau in #101
- Support multiple classes and/or methods in filter by @rdesgroppes in #99
- Ensure that the release workflow generates correct release notes by @shs96c in #102
Full Changelog: v0.7.0...v0.8.0
v0.7.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_jvm",
sha256 = "59af045d288ad3e2d9000b1cddb1135f889d798830f7106a4792cc95427bcd99",
strip_prefix = "rules_jvm-0.7.0",
url = "https://github.com/bazel-contrib/rules_jvm/archive/refs/tags/v0.7.0.zip",
)
# 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()
What's Changed
- Load dependency from correct repository by @illicitonion in #97
Full Changelog: v0.6.0...v0.7.0
v0.6.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_jvm",
sha256 = "eb4e9c2847b3044740e7e74d658381a06411bcba961ec1908dc2737de721238b",
strip_prefix = "rules_jvm-0.6.0",
url = "https://github.com/bazel-contrib/rules_jvm/archive/refs/tags/v0.6.0.zip",
)
# 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()
What's Changed
- gazelle: Fix deps ordering when using #keep by @stevebarrau in #40
- Use rules_jvm_external install for package index by @illicitonion in #49
- Correct a typo in a function name by @shs96c in #51
- Update the rules_jvm_external rules tp latest release by @tjoneslo in #52
- Flesh out tests for java_test and java_test_suite generation by @illicitonion in #50
- Add java_extension directive by @stevebarrau in #53
- Fix up helper library generation by @illicitonion in #54
- Deduplicate and sort imports by @illicitonion in #55
- Fix up helper file deps by @illicitonion in #56
- Split proto generation into a separate java package by @illicitonion in #57
- Update bazel gazelle by @tjoneslo in #59
- fix: Register missing known directive by @stevebarrau in #60
- Reduce generate to a single codepath by @illicitonion in #58
- java_test_suite: Deduplicate dependencies by @illicitonion in #61
- feat(gazelle): Add resolution integration tests. by @blorente in #62
- Delete non-server mode by @illicitonion in #63
- Use java tools parser by @tjoneslo in #67
- Stop fetching output base by @illicitonion in #69
- Enforce format checks as part of CI by @illicitonion in #71
- Remove unused function by @illicitonion in #72
- Move filter-imports from wrapper binary to generate by @illicitonion in #73
- Remove obsolete resolves by @illicitonion in #76
- Migrate tests to use Gazelle's integration test runner by @illicitonion in #75
- Support junit4 and junit5 tests properly by @illicitonion in #77
- Allow setting test attributes based on annotations by @illicitonion in #78
- Remove unused function by @illicitonion in #74
- Report spotbugs issues to stderr not stdout by @illicitonion in #66
- Add three internal library prefixes to the stdLibPrefixes packages by @tjoneslo in #82
- ParameterizedTest is still a junit5 test by @illicitonion in #80
- Add classifier support to maven targets by @illicitonion in #83
- Also detect JUnit Pioneer imports imply JUnit 5 by @rdesgroppes in #85
- Set the Java language level to 11 by @shs96c in #87
- Remove duplication by making
java_test_suite
usejava_junit5_test
by @shs96c in #88 - Avoid Java 17 printing a warning about the SecurityManager by @shs96c in #89
- Suppress warnings about security manager on java 17 by @shs96c in #90
- Add
junit-platform-suite
to runner filters by @rdesgroppes in #91 - Register super class to suppress warning (java 17) by @rdesgroppes in #92
- Add dynamic test results to XML output by @rdesgroppes in #94
- Generate test targets for only separate tests by @illicitonion in #95
- Reworking Java server lifecycle management by @illicitonion in #70
New Contributors
Full Changelog: v0.5.0...v0.6.0
v0.5.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_jvm",
sha256 = "7705164fc0582cfac8400af7bb23ac9fa5f557004e6a4faf7fb4b50c7081653c",
strip_prefix = "rules_jvm-0.5.0",
url = "https://github.com/bazel-contrib/rules_jvm/archive/refs/tags/v0.5.0.zip",
)
# 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()
What's Changed
- Bump io_grpc_grpc_java dep by @illicitonion in #45
Full Changelog: v0.4.0...v0.5.0
v0.4.0
WORKSPACE snippet:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "contrib_rules_jvm",
sha256 = "a939cd04da2deee16131898d91d8e23559dcd1a30a5128beac30a2b01b33c94f",
strip_prefix = "rules_jvm-0.4.0",
url = "https://github.com/bazel-contrib/rules_jvm/archive/v0.4.0.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()
To use the Gazelle plugin, please see its README
What's Changed
- Rules and macros
- Skip JUnit 5 tests when assumptions are not met by @bonigarcia in #37
- Update the dependency versions for the lint tools by @tjoneslo in #41
- Allow setting visibility for java_test_suite libraries by @illicitonion in #44
- Gazelle Java build file plugin
- Document configuration options by @illicitonion in #34
- Use getQualifiedName by @illicitonion in #35
- Only visit each ClassOrInterfaceType once by @illicitonion in #36
- Add javax.xml as provided by JDK by @stevebarrau in #38
- Fix a resolve issue with gRPC by @stevebarrau in #39
- Include problematic package on error by @illicitonion in #42
New Contributors
- @bonigarcia made their first contribution in #37
Full Changelog: v0.3.0...v0.4.0