Broken SBT export #3031
Labels
bug
Something isn't working
experimental
Tickets tied to experimental features.
export
issues tied to the export sub-command
Version(s)
version: 1.4.0
Describe the bug
When exporting the scala-cli project to sbt (and possibly the same for mill), the build configuration for scalaVersion is generating wrongly if the full scala version is not used in the directive
To Reproduce
Sample.scala file
Export using:
scala-cli --power export Sample.scala --sbt
try to run this sbt project using
sbt run
. It fails due to the build.sbt having wrong scala version:Expected behaviour
It should be
scalaVersion := "3.3.4"
probably the lts version. It could be having the same issue in mill export as well.The text was updated successfully, but these errors were encountered: