sbt, the interactive build tool
Go to file
Martin Duhem b95b0e5628 Use configuration of evicted nodes with cached resolution
Consider a configuration where we have two projects, A and B.

A has a library dependency on "a" % "b" % "1.0.0" % "compile->runtime"
and "a" % "b" % "1.0.0" % "compile->runtime2"

B depends on project A, and has a library dependency on
"a" % "b" % "1.0.1" % "compile->runtime".

Note that project B depends on a more recent version of "a" % "b" than
project A, and that it depends ONLY on it's "runtime" configuration.

However, when compiling project B, we expect to have on the classpath
project A, and "a" % "b" % "1.0.1" % "compile->runtime" AND
"a" % "b" % "1.0.1" % "compile->runtime2" because it is part of the
compile configuration of project A.

This commit changes the cached resolution engine so that it behaves like
that, by first resolving dependencies on other project and then ensuring
that the dependent project specifies dependencies on the same
configurations.

Mark test dependency-management/cached-resolution-configurations as
passing.
2016-03-14 15:59:14 +01:00
cache add documention for FileFunction.cached 2016-02-09 09:52:19 -07:00
compile Merge branch '0.13.10' into wip/0.13.10-merge 2016-02-22 13:19:38 -05:00
interface Merge branch '0.13.10' into wip/0.13.10-merge 2016-02-22 13:19:38 -05:00
ivy Use configuration of evicted nodes with cached resolution 2016-03-14 15:59:14 +01: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 Unspecified project axis means current project or its build 2016-02-23 15:11:16 +01:00
notes Notes for #2469 2016-02-25 16:09:17 +01:00
project Update sbt.version to 0.13.11 2016-02-22 21:21:26 +00:00
run Fix additional warnings 2015-08-07 00:23:14 +02:00
sbt Use configuration of evicted nodes with cached resolution 2016-03-14 15:59:14 +01: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 bump launchconfig 2016-02-21 21:28:59 -05: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 Address problems reported by Codacy 2016-02-23 15:19:04 +01: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 Run unit tests from compileInterface on Travis CI. 2016-01-08 21:53:53 +01: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 Update version to 0.13.12-SNAPSHOT 2016-02-22 21:15:22 +00: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.