aboutsummaryrefslogtreecommitdiff
path: root/stage2
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-03-12 20:29:57 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2016-03-12 20:34:10 -0500
commit98e56e5773cc3dd4fe5b3f6f44b043c965c441ae (patch)
tree172512fd581a748e4ad17555ce99c743018a5322 /stage2
parent5cab4822929157f97bf92659abb1b892748493d1 (diff)
downloadcbt-98e56e5773cc3dd4fe5b3f6f44b043c965c441ae.tar.gz
cbt-98e56e5773cc3dd4fe5b3f6f44b043c965c441ae.tar.bz2
cbt-98e56e5773cc3dd4fe5b3f6f44b043c965c441ae.zip
sort transitiveDependencies by exported classpath for hopefully more determinism between dev machines and circle ci
Diffstat (limited to 'stage2')
-rw-r--r--stage2/BasicBuild.scala1
-rw-r--r--stage2/BuildDependency.scala1
2 files changed, 2 insertions, 0 deletions
diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala
index 07c2c1e..93a55ca 100644
--- a/stage2/BasicBuild.scala
+++ b/stage2/BasicBuild.scala
@@ -118,6 +118,7 @@ class Build(val context: Context) extends Dependency with TriggerLoop{
override def dependencyJars : Seq[File] = localJars ++ super.dependencyJars
def exportedClasspath : ClassPath = ClassPath(Seq(compile))
+ def targetClasspath = ClassPath(Seq(compileTarget))
def exportedJars: Seq[File] = Seq()
// ========== compile, run, test ==========
diff --git a/stage2/BuildDependency.scala b/stage2/BuildDependency.scala
index f400be7..84a0100 100644
--- a/stage2/BuildDependency.scala
+++ b/stage2/BuildDependency.scala
@@ -26,6 +26,7 @@ case class BuildDependency(context: Context) extends TriggerLoop{
def dependencies = Seq(build)
def triggerLoopFiles = root.triggerLoopFiles
final val updated = build.updated
+ def targetClasspath = ClassPath(Seq())
}
/*
case class DependencyOr(first: BuildDependency, second: JavaDependency) extends ProjectProxy with BuildDependencyBase{