0

According to the SBT website, the latest version of SBT is 1.3.13. Is this available in 2.13.3, the latest version of Scala?

cchantep
  • 9,118
  • 3
  • 30
  • 41
yoko
  • 21
  • 1

1 Answers1

4

Yes.

You can download the latest version of sbt (1.3.13 for now)

https://www.scala-sbt.org/download.html

and use it for your project if you write in the file project/build.properties

sbt.version = 1.3.13

Also you can write in the file build.sbt

scalaVersion := "2.13.3"

Currently it's the latest version of Scala

https://www.scala-lang.org/download/all.html

So you will be using the latest versions both of Scala and sbt.

Some sideways remarks. Sbt is written in Scala itself. For sbt 1.3.13 it's Scala 2.12.10. Most probably this version of Scala is irrelevant to you. It's relevant only to those who develop sbt or write plugins to sbt etc. Also the file build.sbt is a script in Scala using version of Scala specified in project/build.sbt i.e. in the build file of meta-project (sbt is recursive). It should be Scala 2.12.x because of the binary compatibility with the version of Scala sbt is written in, i.e. from 2.12.0 to 2.12.12. So you can write val x: 1 = 1 (singleton types, a Scala-2.13 feature) in your project Scala code but can't in build.sbt. In this sense the answer is No.

Dmytro Mitin
  • 48,194
  • 3
  • 28
  • 66