Mike Bland

Bzlmod: Toolchainization and rules_scala v7.0.0

I've published my eighth EngFlow blog post about Bzlmod, about some of the most significant work I performed to make rules_scala Bzlmod compatible.


Tags: Bazel, Bzlmod, EngFlow, technical

My eighth EngFlow blog post is about what I call “toolchainization”, and how it was essential to making rules_scala v7.0.0 Bzlmod compatible.

It tries to make accessible the concept of using a repository_rule to generate Bazel toolchains, and registering them automatically under Bzlmod. This was perhaps the most esoteric change of the whole effort to make bazel-contrib/rules_scala Bzlmod compatible.

This also serves as an announcement that bazel-contrib/rules_scala#1482 is complete. As described in the blog post, I couldn’t’ve asked for a more fulfilling Open Source experience!

As always, feel free to comment on the LinkedIn announcement corresponding to this post or the Bzlmod Slack announcement in the #bzlmod channel.