diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-03-27 19:15:36 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-04-02 03:32:03 -0400 |
commit | 52b30bcd4c1bb46879075f3a77d6eb3df3688c3a (patch) | |
tree | af9c68bc41e99f0bb2e44141dcdce2003d26b43c /stage1/resolver.scala | |
parent | 2476e2ec1100813ae4e05cf2183feff8bf5ec8ea (diff) | |
download | cbt-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.scala | 5 |
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) |