When is there a sbt version for 2.13?

99封情书 提交于 2019-12-24 03:48:05

问题


I would like to develop a sbt plugin that has dependencies that are only available for Scala 2.13.

I found on https://github.com/sbt/sbt/issues/5032 this list:

  • SBT 0.x runs only on Scala 2.10.x
  • SBT 1.x runs only on Scala 2.12.x
  • SBT 2.x will run only on Scala 2.13.x or 3.0.x
  • SBT 3.x will run only on Scala 3.0.x or Scala 3.1.x

Where the last two lines was a guess by the author mr-git.

However I did not find any other glue if there is actually a version for Scala 2.13.

Does anybody know?

Update: Added it here: https://discuss.lightbend.com/t/when-is-there-a-sbt-version-for-2-13/5623


回答1:


If afraid you are out of luck. Your plugin needs to be binary compatible with the SBT, which currently means 2.12 for SBT 1.x.x or 2.10 for SBT 0.13.x. There is no trace of any SBT 2 version anywhere on the Internet, certainly no such version exists in the SBT GitHub repository

The situation was similar with Scala 2.11 before, see Does sbt build against scala 2.11? and What's the relationship of the versions of scala when I use sbt to build a scala project?



来源:https://stackoverflow.com/questions/59377410/when-is-there-a-sbt-version-for-2-13

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!