什么时候有 2.13 的 sbt 版本? [英] When is there a sbt version for 2.13?

查看:54
本文介绍了什么时候有 2.13 的 sbt 版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想开发一个 sbt 插件,它具有仅适用于 Scala 2.13 的依赖项.

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

我在 https://github.com/sbt/sbt/issues/5032 这个列表:

  • SBT 0.x 仅在 Scala 2.10.x 上运行
  • SBT 1.x 仅在 Scala 2.12.x 上运行
  • SBT 2.x 只能在 Scala 2.13.x 或 3.0.x 上运行
  • SBT 3.x 只能在 Scala 3.0.x 或 Scala 3.1.x 上运行

最后两行是作者的猜测mr-git.

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

但是,如果实际上有 Scala 2.13 的版本,我没有找到任何其他胶水.

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

有人知道吗?

更新:在此处添加:https://discuss.lightbend.com/t/when-is-there-a-sbt-version-for-2-13/5623

推荐答案

如果怕你不走运.您的插件需要与 SBT 二进制兼容,目前这意味着 SBT 1.x.x 为 2.12,SBT 0.13.x 为 2.10.互联网上的任何地方都没有任何 SBT 2 版本的踪迹,当然 SBT GitHub 存储库中不存在这样的版本一个>

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

之前的Scala 2.11情况类似,参见sbt是否针对scala构建2.11?我用sbt构建scala项目时scala的版本有什么关系?

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?

这篇关于什么时候有 2.13 的 sbt 版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆