aboutsummaryrefslogtreecommitdiff
path: root/stage1/resolver.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2017-03-27 19:15:36 -0400
committerChristopher Vogt <oss.nsp@cvogt.org>2017-04-02 03:32:03 -0400
commit52b30bcd4c1bb46879075f3a77d6eb3df3688c3a (patch)
treeaf9c68bc41e99f0bb2e44141dcdce2003d26b43c /stage1/resolver.scala
parent2476e2ec1100813ae4e05cf2183feff8bf5ec8ea (diff)
downloadcbt-52b30bcd4c1bb46879075f3a77d6eb3df3688c3a.tar.gz
cbt-52b30bcd4c1bb46879075f3a77d6eb3df3688c3a.tar.bz2
cbt-52b30bcd4c1bb46879075f3a77d6eb3df3688c3a.zip
verify classpath feature to identify duplicate classes
Diffstat (limited to 'stage1/resolver.scala')
-rw-r--r--stage1/resolver.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/stage1/resolver.scala b/stage1/resolver.scala
index 48099e5..f4a9b13 100644
--- a/stage1/resolver.scala
+++ b/stage1/resolver.scala
@@ -130,8 +130,9 @@ trait DependencyImplementation extends Dependency{
}
// FIXME: these probably need to update outdated as well
- def classpath : ClassPath = exportedClasspath ++ dependencyClasspath
- def dependencyClasspath : ClassPath = taskCache[DependencyImplementation]( "dependencyClasspath" ).memoize{
+ def classpath: ClassPath = exportedClasspath ++ dependencyClasspath
+ def verifyClasspath: Unit = classpath.verify(lib)
+ def dependencyClasspath: ClassPath = taskCache[DependencyImplementation]( "dependencyClasspath" ).memoize{
ClassPath(
transitiveDependencies
.flatMap(_.exportedClasspath.files)