bazelbuild / rules_scala

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

Introduce build setting for current Scala version #1558

Closed aszady closed 3 months ago

aszady commented 4 months ago

Description

Build setting & config setting to transition and query about the Scala version.

A small change compared to #1552 is that I don't allow an empty string value for the build setting.

This shouldn't change any behavior.

Motivation

Originally #1290. Partitioned from #1552.

simuons commented 3 months ago

Also big thanks for

don't allow an empty string value for the build setting.

that was puzzling me in previous pr.

aszady commented 3 months ago

Updated the name of config setting as suggested in https://github.com/bazelbuild/rules_scala/pull/1559#discussion_r1540591226