Closed
Description
Compiler version
LTS
What's the problem?
There's currently no way to programmatically differentiate LTS compiler releases from others, when using them as a dependency.
https://index.scala-lang.org/lampepfl/dotty/artifacts/scala3-compiler/3.3.2
I'd like to be able to identify what's the latest LTS with coursier
, for example.
Expected solution
A simple <versionType>LTS</versionType>
property in the pom.xml
should do the trick.
Context
Scala CLI currently hardcodes LTS to the latest version in the 3.3.x
series (refer to VirtusLab/scala-cli#2709)
When a new LTS comes out, we'll have to manually update that (which is a minor toil, but nonetheless toil one needs to remember about).
I bet other apps may want to programmatically track this as well.