aboutsummaryrefslogtreecommitdiff
path: root/stage1/cbt.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-11-13 18:59:12 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2017-02-13 10:13:05 -0500
commitd1cbc1efffd5c2a6511f1ccca43ccfb37a7f1af8 (patch)
tree3cf36e22305cc1da608667cfef85afcf682cc21a /stage1/cbt.scala
parent9f89d16aa3ca5f96d73a8394d5159dc78dd5d7cf (diff)
downloadcbt-d1cbc1efffd5c2a6511f1ccca43ccfb37a7f1af8.tar.gz
cbt-d1cbc1efffd5c2a6511f1ccca43ccfb37a7f1af8.tar.bz2
cbt-d1cbc1efffd5c2a6511f1ccca43ccfb37a7f1af8.zip
remove some unnecessary Context fields while we are modifying context
Diffstat (limited to 'stage1/cbt.scala')
-rw-r--r--stage1/cbt.scala5
1 files changed, 3 insertions, 2 deletions
diff --git a/stage1/cbt.scala b/stage1/cbt.scala
index dd06d81..a1776b1 100644
--- a/stage1/cbt.scala
+++ b/stage1/cbt.scala
@@ -52,9 +52,10 @@ object `package`{
}
implicit class DependencyExtensions(subject: Dependency){
import subject._
- def dependencyClasspath: ClassPath = ClassPath(dependencyClasspathArray.to)
+ def dependencyClasspath(implicit logger: Logger, transientCache: java.util.Map[AnyRef,AnyRef]): ClassPath
+ = Dependencies(dependenciesArray.to).classpath
def exportedClasspath: ClassPath = ClassPath(exportedClasspathArray.to)
- def classpath = exportedClasspath ++ dependencyClasspath
+ def classpath(implicit logger: Logger, transientCache: java.util.Map[AnyRef,AnyRef]) = exportedClasspath ++ dependencyClasspath
def dependencies: Seq[Dependency] = dependenciesArray.to
}
implicit class ContextExtensions(subject: Context){