rules_scala icon indicating copy to clipboard operation
rules_scala copied to clipboard

Draft: Add bzlmod minimal support

Open mateuszkuta256 opened this issue 1 year ago • 2 comments
trafficstars

Description

This is the first step of migration to Bzlmod, see https://bazel.build/external/migration

I'm gonna create a few further pull requests to bring all the changes described here: https://github.com/bazelbuild/rules_scala/issues/1482#issuecomment-1907672400 The migration process will finish once WORKSPACE.bzlmod is empty

Motivation

Resolve https://github.com/bazelbuild/rules_scala/issues/1482

mateuszkuta256 avatar Jan 24 '24 13:01 mateuszkuta256

I turn into a draft because will surely cause conflicts with these changes:

SCALA_VERSION dependent code has to be refactored to read this information from the toolchain

mateuszkuta256 avatar Jan 29 '24 15:01 mateuszkuta256

Hi, @mateuszkuta256, thanks for taking this. So as I understand this is somewhat "blocked" by required changes to toolchains and SCALA_VERSION. I'll reply in multi scala issue shortly. This change and multi scala are the big ones. So maybe lets first solve multi scala and toolchains and then bzlmod (i have a hunch that proper toolchains would make bzlmod migration easier).

simuons avatar Feb 07 '24 08:02 simuons