sbt, the interactive build tool
Go to file
Eugene Yokota ca12418eb8 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.
2016-08-05 01:21:06 -04:00
cache scalariform changed this. 2016-04-05 22:52:05 -04:00
compile Fixes #2654 Silence macro recompilation info message 2016-07-08 01:03:32 +01:00
interface Fixes test 2016-04-06 11:26:17 -04:00
ivy Ugh. trying to make codacy happy 2016-06-12 03:34:22 -04:00
launch Include sbt-ivy-snapshots to launchconfig 2015-12-29 19:48:57 -05: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 2016-08-05 01:21:06 -04:00
notes `aggregate` can now be used inside a .sbt file 2016-07-25 12:07:49 +09:00
project Bump to 0.13.12 2016-08-05 01:16:09 -04:00
run Fix additional warnings 2015-08-07 00:23:14 +02:00
sbt Fixes #2686 by resetting scalaVersion for updateSbtClassifiers 2016-08-05 01:21:06 -04:00
sbt-maven-resolver/src Add handling for transitive exclude rules in pom.xml files. 2015-07-23 15:32:27 -04:00
scripted Continue to run tests after passing pending test 2015-08-19 08:26:21 +02:00
src/main/conscript launchconfig 2016-07-16 00:05:02 -04:00
tasks Fixes #2302. Don't check pre and post conditions in sbt.Execute by default. 2015-12-07 22:14:55 +01:00
testing Replace procedure syntax by explicit Unit annotation 2015-08-04 10:07:38 +02:00
util Fixes #2480. Workaround for Jline regression (#2570) 2016-04-23 23:56:25 -04: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
.travis.yml Adds a scripted test that tests repo override 2016-04-24 14:24:05 -04:00
CONTRIBUTING.md CONTRIBUTING.md: Fix error in scripted test command 2016-01-23 17:39:17 +01:00
LICENSE Update CONTRIBUTING.md 2014-04-14 12:16:06 -04:00
NOTICE Update CONTRIBUTING.md 2014-04-14 12:16:06 -04:00
README.md Fix intended formatting in README. 2015-05-27 07:33:26 +01:00
api.specification Macro def aware recompilation. 2012-03-04 17:35:51 +01:00
build.sbt Bump version to 0.13.13-SNAPSHOT 2016-07-18 10:21:52 +01:00
scripted.specification New scripted test framework 2009-11-09 09:34:52 -05:00

README.md

sbt

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

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

Issues and Pull Requests

Please read CONTRIBUTING carefully before opening a GitHub Issue.

The short version: try StackOverflow and sbt-dev. Don't open an Issue.

sbt 0.13

This is the 0.13.x series of sbt.

  • Setup: Describes getting started with the latest binary release.
  • FAQ: Explains how to get help and more.
  • Google Code: hosts sbt 0.7.7 and earlier versions

license

See LICENSE.