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


                 




                                                                            
                                                                                                     

                                                                                       
                                                                                                                         

                                                       
                                                     
 
package cbt;
import java.io.*;

public interface BuildInterface extends Dependency{
  // needed to propagage through build builds. Maybe we can get rid of this.
  public default BuildInterface finalBuild(File current){
    return finalBuild(); // legacy forwarder
  }
  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 BuildInterface finalBuild(); // needed to propagage through build builds. Maybe we can get rid of this.
  public abstract BuildInterface copy(Context context);
  public abstract String scalaVersion();
  public abstract String[] crossScalaVersionsArray();
}