sbt是否基于scala 2.11构建?

sbt是否基于scala 2.11构建?,sbt,Sbt,我想用scala 2.11编写一个插件 sbtPlugin := true scalaVersion := "2.11.0" 当前的sbt版本(0.13.9)构建在scala 2.10.5上 编辑: 确实是针对中的2.11构建的 在我们发布下一个版本sbt 0.14或可能的sbt 1.0之前,我们不能破坏所有sbt 0.13插件的二进制兼容性,因此在此之前没有Scala 2.11.x sbt 更新: 解决这个问题的一种方法是使用。sbt 0.13能够使用Scala 2.11编译器构建Sca

我想用scala 2.11编写一个插件

sbtPlugin := true

scalaVersion := "2.11.0"
当前的sbt版本(0.13.9)构建在scala 2.10.5上

编辑: 确实是针对中的2.11构建的


在我们发布下一个版本sbt 0.14或可能的sbt 1.0之前,我们不能破坏所有sbt 0.13插件的二进制兼容性,因此在此之前没有Scala 2.11.x sbt

更新


解决这个问题的一种方法是使用。sbt 0.13能够使用Scala 2.11编译器构建Scala 2.11源代码。您可以模仿它的工作方式,从sbt运行Scala 2.10或2.11代码。

sbt现在使用Scala 2.12

sbt的当前版本为1.2.8(2018年12月30日发布),自1.0.0(2017年8月10日发布)以来支持Scala 2.12

SBT1.0将Scala 2.12用于构建定义和插件。这也需要JDK 8


我们只是跳过了Scala 2.11,直接转到了2.12。

我们每晚都在这里根据Scala master(2.11夜间版本)构建sbt:但是,这些版本没有发布。我们运行它们只是为了检测编译器是否已经退化。这向您展示了,sbt可以用Scala 2.11构建。伙计们,您对使用2.11.x编译的sbt版本或快照何时会出现有一个粗略的估计吗?我刚刚用scala 2.11.2和java 8制作了一个相当大的插件,当我开始在设置中添加命令和内容时,我发现了一个悲惨的事实:-)无法创建基于2.11的插件是一个真正的难题;-),2.11支持何时登陆SBT?是否有预计到达时间?不是为了击败对手,而是为了更新SBT的下一个版本?缺少2.11支持是一个令人头痛的问题。永远不会有2.11支持,因为SBT1.0.0将在Scala 2.12上-
https://scala-ci.typesafe.com/job/scala-2.11.x-integrate-community-build/lastSuccessfulBuild/consoleFull
[sbt] --== Extracting dependencies for sbt ==--
[sbt] Fetching https://github.com/sbt/sbt.git
[sbt] into /home/jenkins/workspace/scala-2.11.x-integrate-community-build/target-0.9.1/clones/d12473907f59fe78661e5f2a758557fe14df3ac6
[sbt] Took: 00h 00m 02.3s
[sbt] Fetching /home/jenkins/workspace/scala-2.11.x-integrate-community-build/target-0.9.1/clones/d12473907f59fe78661e5f2a758557fe14df3ac6
[sbt] into /home/jenkins/workspace/scala-2.11.x-integrate-community-build/target-0.9.1/extraction/18f58ea36720e88c2e79edce7efe5b626fc09a5e/projects/c2c0436b24853ab78d6f35ecf52a77248da4e537
[sbt] Took: 00h 00m 01.3s
[sbt] The following subprojects will be built in project sbt: launcher-interface, test-agent, control, io, datatype-generator, process, scripted-framework, interface, launcher, precompiled-2_8_2, relation, classpath, api, precompiled-2_9_2, logging, compile, run, classfile, scripted-sbt, testing, incremental-compiler, persist, compiler-integration, precompiled-2_9_3, compiler-interface, collections, completion, logic, apply-macro, tasks, task-system, cache, tracking, cross, ivy, compiler-ivy-integration, actions, command, main-settings, main, sbt, scripted-plugin
[sbt] --== End Extracting dependencies for sbt ==--