Skip to content

Releases: menny/mabel

v0.40.1

07 Dec 20:02
6b068c2

Choose a tag to compare

This is a big rewrite of the starlark part in order to achieve a clean and complete bzlmod support. As a result:

  • only supporting bzlmod setups
  • android is not yet supported due to an issue with rules_android
    This version of mabel requires Bazel 7+ and will only work with bzlmod.

Setup

In your MODULE.bazel file:

bazel_dep(name = "mabel", version = "0.40.1")

To add dependencies, define those in a BUILD.bazel file:

load("@mabel//rules:mabel.bzl", "artifact", "mabel_rule")

mabel_rule(
    name = "mvn_deps",
    lockfile_path = " mvn_install.json",
    maven_deps = [
        artifact("com.google.guava:guava:20.0"),
    ],
)

Then in your MODULE.bazel file:

mabel = use_extension("@mabel//rules:extensions.bzl", "mabel")
mabel.install(
    aliases_repo = "mvn",
    lockfile = "//:mvn_install.json",
)
use_repo(mabel, "mvn")

Read more in the README.

What's Changed

New Contributors

Full Changelog: 0.30.0...v0.40.1

v0.30.0

04 Apr 03:05
98ac875

Choose a tag to compare

  • Updated to support Bazel 6.1.0.
  • Output now conforms to the latest buildifier.
  • Updated examples to latest rules.

v0.20.0

21 Jun 20:46
89e6dbc

Choose a tag to compare

  • Using jvm_import instead of java_import and kt_*

v0.19.1

06 Jun 22:04
0f282f9

Choose a tag to compare

  • You can now also set exports type on specific artifact.

v0.19.0

06 Jun 16:03
64f6748

Choose a tag to compare

  • You can now specify how we generate exports attribute:
    • all - Generate exports for all resolved dependencies.
    • requested_deps - (the default) Generate only for top-level, requested, artifacts.
    • none - do not generate exports attribute in any of the targets.

v0.18.1

02 Jun 03:21
8187322

Choose a tag to compare

  • Fix for test-only marking of inner-deps.

v0.18.0

29 May 02:57
f05a194

Choose a tag to compare

  • Support for test_only artifacts - such artifacts will be marked as test-only and Bazel will not allow those to be used in production code.

v0.17.0

26 May 19:39
b85633f

Choose a tag to compare

  • Support for artifacts' target type hint. This may speed up resolution quick a bit for large repos.

v0.16.3

17 May 19:25
4acfe64

Choose a tag to compare

  • Fix for java_plugin#runtime_dep mapping

v.0.16.2

30 Apr 15:38
86b4387

Choose a tag to compare

  • fix for null licenses