aboutsummaryrefslogblamecommitdiff
path: root/compatibility/BuildInterface.java
blob: e2b5f3615836e9d70aa1e37a98ba761f25e587ad (plain) (tree)
1
2
3
4
5
6
7
8


                 
                                                           
                                                                                      
                                                                                                

                                                                                                                         


                                                                                       
 
package cbt;
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 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();
}