sbt, the interactive build tool
Go to file
Eugene Yokota f3817ad64f Fixes #2686 by resetting scalaVersion for updateSbtClassifiers
Ref #2634

updateSbtClassifiers uses an artificially created dependency graph set
in classifiersModule. The problem is that ivyScala instance is reused
from the outer scope that has the user project's scalaVersion as
demonstrated as follows:

    scala> val is = (ivyScala in updateSbtClassifiers).eval
    is: Option[sbt.IvyScala] =
Some(IvyScala(2.9.3,2.9.3,List(),true,false,true,org.scala-lang))

This change fixes #2686 by redefining ivyScala with scalaVersion and
scalaBinaryVersion scoped to updateSbtClassifiers task. The existing
scripted test was modified to reproduce the bug.
2017-01-14 07:37:32 -05:00
launch Include new repositories to grab sbt 2016-05-08 16:21:23 -04:00
licenses move remaining pieces of sbt subproject to sbt_pending and fix notices 2010-09-21 21:55:50 -04:00
main Fixes #2686 by resetting scalaVersion for updateSbtClassifiers 2017-01-14 07:37:32 -05:00
main-actions/src -sbinary/+sjson-new, -datatype/+contraband & upgrades 2017-01-05 21:59:00 +00:00
main-command/src/main Adjust from rebasing 2017-01-06 11:35:08 -05:00
main-settings/src -sbinary/+sjson-new, -datatype/+contraband & upgrades 2017-01-05 21:59:00 +00:00
notes JUnitXmlTestsListener now correctly flags ignored, skipped and pending tests 2016-12-01 10:45:13 +00:00
project -sbinary/+sjson-new, -datatype/+contraband & upgrades 2017-01-05 21:59:00 +00:00
protocol/src/main Adjust from rebasing 2017-01-06 11:35:08 -05:00
run Upgrade scalariform version 2016-12-11 12:13:11 +00:00
sbt/src Fixes #2686 by resetting scalaVersion for updateSbtClassifiers 2017-01-14 07:37:32 -05:00
scripted Upgrade scalariform version 2016-12-11 12:13:11 +00:00
src/main/conscript rename conscripted app from sbt to xsbt 2016-05-08 14:50:28 -04:00
tasks Upgrade scalariform version 2016-12-11 12:13:11 +00:00
tasks-standard -sbinary/+sjson-new, -datatype/+contraband & upgrades 2017-01-05 21:59:00 +00:00
testing Upgrade scalariform version 2016-12-11 12:13:11 +00:00
.gitattributes Added .gitattributes file. 2013-04-25 00:06:51 +08:00
.gitignore support defining Projects in .sbt files 2012-12-09 20:40:41 -05:00
.java-version Configure JVM 1.8 in .java-version 2016-10-07 08:48:23 -05:00
.travis.yml Bump TravisCI config to oraclejdk8 2016-10-07 10:21:32 -05:00
CONTRIBUTING.md CONTRIBUTING.md: Fix error in scripted test command 2016-05-02 07:54:49 -04:00
ISSUE_TEMPLATE.md Add "Clean history" to contributing with links 2016-02-19 13:21:11 +00:00
LICENSE Update CONTRIBUTING.md 2014-04-14 12:16:06 -04:00
MIGRATION.md Migration notes 2016-09-15 03:13:08 -04:00
NOTICE Update CONTRIBUTING.md 2014-04-14 12:16:06 -04:00
PULL_REQUEST_TEMPLATE.md Add "Clean history" to contributing with links 2016-02-19 13:21:11 +00:00
README.md readme 2016-05-08 14:49:43 -04:00
build.sbt Update to Contraband 2017-01-06 11:27:06 -05:00
reset.sh Handle closed socket 2016-10-27 02:42:12 -04:00
server.md Update to Contraband 2017-01-06 11:27:06 -05:00

README.md

sbt

sbt is a build tool for Scala, Java, and more.

For general documentation, see http://www.scala-sbt.org/.

sbt 1.0.x

This is the 1.0.x series of sbt. The source code of sbt is split across several Github repositories, including this one.

  • sbt/io hosts sbt.io module.
  • sbt/util hosts a collection of internally used modules.
  • sbt/librarymanagement hosts sbt.librarymanagement module that wraps Ivy.
  • sbt/zinc hosts Zinc, an incremental compiler for Scala.
  • sbt/sbt, this repository hosts modules that implements the build tool.
  • Setup: Describes getting started with the latest binary release.
  • FAQ: Explains how to get help and more.
  • sbt/sbt-zero-seven: hosts sbt 0.7.7 and earlier versions

Issues and Pull Requests

Please read CONTRIBUTING carefully before opening a GitHub Issue.

The short version: try searching or asking on StackOverflow and sbt-dev.

license

See LICENSE.