Does sbt build against scala 2.11?

前端 未结 2 1688
忘掉有多难
忘掉有多难 2020-12-09 02:44

I want to write a plugin using scala 2.11

sbtPlugin := true

scalaVersion := \"2.11.0\"

The current sbt release (0.13.9) is built on scala

2条回答
  •  醉梦人生
    2020-12-09 03:05

    sbt now uses Scala 2.12

    The current version of sbt is 1.2.8 (released 30th December 2018) and it supports Scala 2.12 since 1.0.0 (released 10th August 2017)

    sbt 1.0 uses Scala 2.12 for build definitions and plugins. This also requires JDK 8.

    https://www.scala-sbt.org/1.x/docs/sbt-1.0-Release-Notes.html#sbt+1.0.0

    We simply skipped Scala 2.11 and went directly to 2.12.

提交回复
热议问题