bazelbuild / rules_scala

Scala rules for Bazel
Apache License 2.0
359 stars 266 forks source link

Allow transitioning Scala version with `scala_version` attribute of rules #1569

Closed aszady closed 3 months ago

aszady commented 3 months ago

Description

Implements transition and exposes it via the scala_version attribute for a number of common rules.

No effect at the moment, as for now we have only one valid setting. After allowing more Scala versions when configuring rules repository, this will become the central part of the cross-build.

Motivation

Originally #1290. Partitioned from #1552.