aboutsummaryrefslogtreecommitdiff
path: root/compatibility
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-11-10 01:40:14 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2017-02-13 10:10:02 -0500
commit8ebada86b1fc58465751864acba8aafd387ccb4b (patch)
tree3c0cf15a408350511652dd0f0872a8eba6de7a9e /compatibility
parent0a295c21d3379117e661fdbf586ecb6222c3602b (diff)
downloadcbt-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 'compatibility')
-rw-r--r--compatibility/BuildInterface.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/compatibility/BuildInterface.java b/compatibility/BuildInterface.java
index f061832..e2b5f36 100644
--- a/compatibility/BuildInterface.java
+++ b/compatibility/BuildInterface.java
@@ -4,7 +4,9 @@ import java.io.*;
public abstract class BuildInterface implements Dependency{
public abstract BuildInterface copy(Context context); // needed to configure builds
public abstract String scalaVersion(); // needed to propagate scalaVersion to dependent builds
- public abstract String[] crossScalaVersionsArray(); // FIXME: this probably can't use Scala classes
public abstract BuildInterface finalBuild(); // needed to propagage through build builds. Maybe we can get rid of this.
public abstract File[] triggerLoopFilesArray(); // needed for watching files across composed builds
+
+ // deprecated methods, which clients are still allowed to implement, but not required
+ public abstract String[] crossScalaVersionsArray();
}