contrib_rules_jvm only supports bzlmod-enabled builds
Module Setup
In your MODULE.bazel:
bazel_dep(name = "contrib_rules_jvm", version = "0.30.0")Important Changes
- This release changes how the JUnit5 runner reports test names to better support parameterised and other custom tests.
- The java gazelle plugin will now respect
java_exporttargets. Targets will depend on these rather than individual constituentjava_librarytargets to ensure that eachjava_librarytarget is only included in onejava_export
What's Changed
- Explicitly load
java_importfrom@rules_javaby @RomanVlasenko in #345 - Ensure deps referenced in java_test_suite make vars are passed to tests by @thirtyseven in #332
- [junit5] Issue a warning if
System.exitis called during a test by @shs96c in #349 - feat: Optionally respect java_export during resolution by @blorente in #347
- build(release): update release process for bzlmod by @gibfahn in #346
- fix: support nested classes properly by @christianladam in #351
- fix: use method source and class source information to get the parent by @christianladam in #357
- Add parameterized and repeated tests to the junit5 test target by @christianladam in #352
- Add a Time log to the output. by @christianladam in #359
- fix: do not rely on method source to determine the class parent. by @christianladam in #358
- Adding a plugin adds it to plugins by @shs96c in #360
- fix: kotlin names and cucumber tests by @christianladam in #361
- fix: log the original display name if no parent has a source by @christianladam in #362
New Contributors
- @RomanVlasenko made their first contribution in #345
- @christianladam made their first contribution in #351
Full Changelog: v0.29.0...v0.30.0