diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-11-10 01:40:14 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-13 10:10:02 -0500 |
commit | 8ebada86b1fc58465751864acba8aafd387ccb4b (patch) | |
tree | 3c0cf15a408350511652dd0f0872a8eba6de7a9e /stage2/BasicBuild.scala | |
parent | 0a295c21d3379117e661fdbf586ecb6222c3602b (diff) | |
download | cbt-8ebada86b1fc58465751864acba8aafd387ccb4b.tar.gz cbt-8ebada86b1fc58465751864acba8aafd387ccb4b.tar.bz2 cbt-8ebada86b1fc58465751864acba8aafd387ccb4b.zip |
Add support for nested builds and use it to replace cross compilation
command which was previously hard-coded
This will allow multi-project builds, too but we should first fix
caching across instances and GitDependencies on sub-builds within
other repositories.
Diffstat (limited to 'stage2/BasicBuild.scala')
-rw-r--r-- | stage2/BasicBuild.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala index ed03de2..b7b0854 100644 --- a/stage2/BasicBuild.scala +++ b/stage2/BasicBuild.scala @@ -41,8 +41,6 @@ trait BaseBuild extends BuildInterface with DependencyImplementation with Trigge def defaultScalaVersion: String = constants.scalaVersion final def scalaVersion = context.scalaVersion getOrElse defaultScalaVersion final def scalaMajorVersion: String = lib.libMajorVersion(scalaVersion) - def crossScalaVersions: Seq[String] = Seq(scalaVersion, "2.10.6") - final def crossScalaVersionsArray: Array[String] = crossScalaVersions.to def projectName = "default" // TODO: get rid of this in favor of newBuild. @@ -285,4 +283,7 @@ trait BaseBuild extends BuildInterface with DependencyImplementation with Trigge // a method that can be called only to trigger any side-effects final def `void` = () + + @deprecated("use the MultipleScalaVersions plugin instead","") + final def crossScalaVersionsArray = Array(scalaVersion) } |