diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-01 23:53:08 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-01 23:53:08 -0500 |
commit | 0d98155071d75dd135adca9d5977b365088f8190 (patch) | |
tree | 7f1c88fb4f1f59fd394c15fa29a9e0fe271c607f /stage1/resolver.scala | |
parent | e56f8afa03035140280bc8d3d878ad225def381e (diff) | |
download | cbt-0d98155071d75dd135adca9d5977b365088f8190.tar.gz cbt-0d98155071d75dd135adca9d5977b365088f8190.tar.bz2 cbt-0d98155071d75dd135adca9d5977b365088f8190.zip |
make full dependencies available to compile instead of only classpath
this will make it possible to access lastModified times and cache them
in the following commits
Diffstat (limited to 'stage1/resolver.scala')
-rw-r--r-- | stage1/resolver.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stage1/resolver.scala b/stage1/resolver.scala index 1f94c7f..f4af73e 100644 --- a/stage1/resolver.scala +++ b/stage1/resolver.scala @@ -128,8 +128,8 @@ case class ScalaDependencies(cbtHasChanged: Boolean, mavenCache: File, version: ) } -case class BinaryDependency( path: File, dependencies: Seq[Dependency] )(implicit val logger: Logger) extends DependencyImplementation{ - def exportedClasspath = ClassPath(Seq(path)) +case class BinaryDependency( paths: Seq[File], dependencies: Seq[Dependency] )(implicit val logger: Logger) extends DependencyImplementation{ + def exportedClasspath = ClassPath(paths) override def needsUpdate = false def targetClasspath = exportedClasspath } |