diff options
author | Jan Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-13 10:39:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-13 10:39:40 -0500 |
commit | e0fb6ec75286c695b7e4c5ed9189714d40f9b672 (patch) | |
tree | 3cf36e22305cc1da608667cfef85afcf682cc21a /stage1/cbt.scala | |
parent | 0a295c21d3379117e661fdbf586ecb6222c3602b (diff) | |
parent | d1cbc1efffd5c2a6511f1ccca43ccfb37a7f1af8 (diff) | |
download | cbt-e0fb6ec75286c695b7e4c5ed9189714d40f9b672.tar.gz cbt-e0fb6ec75286c695b7e4c5ed9189714d40f9b672.tar.bz2 cbt-e0fb6ec75286c695b7e4c5ed9189714d40f9b672.zip |
Merge pull request #303 from cvogt/nested-builds
Add support for nested builds and use it to replace cross compilation command which was previously hard-coded
Diffstat (limited to 'stage1/cbt.scala')
-rw-r--r-- | stage1/cbt.scala | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stage1/cbt.scala b/stage1/cbt.scala index 8520be4..a1776b1 100644 --- a/stage1/cbt.scala +++ b/stage1/cbt.scala @@ -44,7 +44,6 @@ object `package`{ // then we wouldn't need this and could provide this method from a // plugin rather than hard-coding trigger files stuff in cbt def triggerLoopFiles: Seq[File] = triggerLoopFilesArray.to - def crossScalaVersions: Seq[String] = crossScalaVersionsArray.to } implicit class ArtifactInfoExtensions(subject: ArtifactInfo){ import subject._ @@ -53,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){ |