sbt, the interactive build tool
Go to file
Martin Duhem 92ca28e25a 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-05-24 17:13:45 +02:00
librarymanagement Use configuration of evicted nodes with cached resolution 2016-05-24 17:13:45 +02:00
project Bump dependencies 2016-05-04 22:49:03 -04:00
sbt/src/sbt-test/dependency-management/chainresolver Reproduce "configuration not public" on local test->test. #1827 2016-01-17 16:43:44 +00:00
.gitignore Bump dependencies 2016-05-04 22:49:03 -04:00
.travis.yml Target Oracle JDK 7 & 8 in Travis 2016-01-17 22:17:54 +00:00
README.md Add build.sbt 2015-08-19 03:56:08 -04:00
build.sbt Implement static launcher for sbt 2016-04-27 10:14:47 +02:00

README.md

librarymanagement module for sbt

git clone --no-hardlinks --branch 0.13 sbt sbt-modules/librarymanagement
cd sbt-modules/librarymanagement
git filter-branch --index-filter 'git rm --cached -qr -- . && git reset -q $GIT_COMMIT -- ivy util/cross' --prune-empty
git reset --hard
git gc --aggressive
git prune
git cb 1.0