diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-06-07 00:47:06 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-06-15 01:24:46 -0400 |
commit | b37e339c41483c15bf14f84be60c8470fd429d77 (patch) | |
tree | 5a0ce098df0f166d13d8018257817b799ad3889d /stage2/BuildDependency.scala | |
parent | 81a8db46ce92f6f0b7b2c2661ae8f0a2f38e5adc (diff) | |
download | cbt-b37e339c41483c15bf14f84be60c8470fd429d77.tar.gz cbt-b37e339c41483c15bf14f84be60c8470fd429d77.tar.bz2 cbt-b37e339c41483c15bf14f84be60c8470fd429d77.zip |
Get rid of Build default imports to reduce noise in build files. This also changes builds from using immutable.Seq to using Predef.Seq in favor of simplicity over purity. This has been discussed on gitter.
Diffstat (limited to 'stage2/BuildDependency.scala')
-rw-r--r-- | stage2/BuildDependency.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/stage2/BuildDependency.scala b/stage2/BuildDependency.scala index f6b6911..aba35c6 100644 --- a/stage2/BuildDependency.scala +++ b/stage2/BuildDependency.scala @@ -1,6 +1,5 @@ package cbt import java.io.File -import scala.collection.immutable.Seq /* sealed abstract class ProjectProxy extends Ha{ protected def delegate: ProjectMetaData @@ -22,11 +21,11 @@ case class BuildDependency(context: Context) extends TriggerLoop{ final override lazy val lib: Lib = new Lib(logger) private val root = lib.loadRoot( context.copy(args=Seq()) ) lazy val build = root.finalBuild - def exportedClasspath = ClassPath(Seq()) + def exportedClasspath = ClassPath() def dependencies = Seq(build) def triggerLoopFiles = root.triggerLoopFiles override final val needsUpdate = build.needsUpdate - def targetClasspath = ClassPath(Seq()) + def targetClasspath = ClassPath() } /* case class DependencyOr(first: BuildDependency, second: JavaDependency) extends ProjectProxy with BuildDependencyBase{ |