0.2.0
rules_jvm_export
rules_jvm_export is a Bazel rule to publish build artifacts to a Maven repository, similar to rules_jvm_external and vaticle/bazel-distribution. It can be used with bazel-multiversion, but it can be used on its own as well.
- rules_jvm_export is implemented in Python (bazel-distribution depends on rules_kotlin and Python).
- By default
jvm_export(...)
rule publishes thebuild
artifact, as opposed to publishing an über JAR. It also creates POM file enumerating only the direct dependencies, as opposed to listing transitive dependencies. jvm_export(...)
supports--local
to publish locally,--publish_to
to override repo URL/path, and--netrc
to use netrc authentication.jvm_export(...)
supports custom classifiers.
rules_jvm_export was added in #105 by @eed3si9n with subsequent updates in #107, #108, #109, and #110.
Full Changelog: v0.1.3...v0.2.0