scalaVersion command at the sbt prompt.
I was having a problem getting a certain Scala feature to work when I compiled my code with sbt, and even though I knew I had set the Scala version in my build.sbt file, I wanted a way to double-check that sbt was indeed using that Scala version. That’s when I found I can issue the
scalaVersion at the sbt prompt.
Also, these sbt commands can point you to more information:
And here are a few related links: