bazelbuild / rules_scala

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

Bind toolchains to Scala version #1566

Closed aszady closed 3 months ago

aszady commented 3 months ago

Description

Use target_settings to indicate which Scala version is supported by the toolchain. This will become useful when multiple toolchains for each Scala version are defined.

The choice of toolchains to cover by this (first) migration is quite arbitrary, but should be enough to enable the basic cross-build use cases.

No change in behavior if the default Scala version is used.

Motivation

Originally #1290. Partitioned from #1552.