Tôi muốn viết một plugin sử dụng scala 2,11Có sbt xây dựng chống lại scala 2.11?
sbtPlugin := true
scalaVersion := "2.11.0"
Việc phát hành SBT hiện tại (0.13.9) được xây dựng trên scala 2.10.5 https://github.com/sbt/sbt/blob/0.13.9/build.sbt#L27
EDIT: Liệu xây dựng chống 2.11 trong số community build.
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 ==--
Có ảnh chụp nhanh sbt 0.14.x hỗ trợ 2.11.x không? Tôi thấy https://github.com/sbt/sbt/tree/sbt-0.13.1-scala-2.11.0-M8 –
Grzegorz là một anh chàng biên dịch nên có lẽ anh ta đã thử nghiệm tính tương thích hoặc trình biên dịch gia tăng. Chúng tôi đã có mốc 0.13.2 và 0.13.5. Khi 0.13.5 xuất hiện, có thể có một số mốc quan trọng trong tương lai. –
Chúng tôi xây dựng sbt chống lại chủ Scala (2.11 đêm xây dựng) mỗi đêm ở đây: https://jenkins-dbuild.typesafe.com:8499/job/Community-2.11.x/120/console Tuy nhiên, những bản dựng này không được xuất bản. Chúng tôi chạy chúng chỉ để phát hiện xem trình biên dịch có bị thoái lui hay không. Điều này cho bạn thấy, sbt có thể được xây dựng với Scala 2.11. –