Open nlou9 opened 2 months ago
Handling artifact override seems to be a missed feature during multiversion implementation. Until fixed you need to stay with versions that are hardcoded in rules_scala.
The good news is that we will soon bump the scala versions. Additionally we hope to implement a solution that will make the bumps delivered faster. The specific issue under this ticket should be fixed as well.
good to know version bump to 2.13.14 is on the way. Do you have the ETA?
https://github.com/bazelbuild/rules_scala/pull/1597 PR is here, so it is the matter if getting it through CI, review and a release.
@nlou9 sorry for delay. Version bump PR was merged. Thanks @lukaszwawrzyk
The new release 6.6.0 support cross-compilation. I want to bump the scala version to 2.13.14 by overriding the artifacts. It turns out that it will override for both 2.12.18 and 2.13.14 with the artifacts which are supposed to be just for 2.13.14.
I think it is due to the hardcoded artifacts id https://github.com/bazelbuild/rules_scala/blob/6c6ba4e31cb56c038fe9967efd222007d73fd5cf/scala/private/macros/scala_repositories.bzl#L126 which doesn't have version suffix.
Is there a way to achieve it to use scala 2.13.14?