Interface to the Scala compiler that uses the dependency analysis plugin.
Forms the list of options that is passed to the compiler from the required inputs and other options.
Forms the list of options that is passed to the compiler from the required inputs and other options. The directory containing scala-library.jar and scala-compiler.jar (scalaLibDirectory) is required in order to add these jars to the boot classpath. The 'scala.home' property must be unset because Scala puts jars in that directory on the bootclasspath. Because we use multiple Scala versions, this would lead to compiling against the wrong library jar.
A basic interface to the compiler.
A basic interface to the compiler. It is called in the same virtual machine, but no dependency analysis is done. This
is used, for example, to compile the interface/plugin code.
If explicitClasspath
is true, the bootclasspath and classpath are not augmented. If it is false,
the scala-library.jar from scalaInstance
is put on bootclasspath and the scala-compiler jar goes on the classpath.
Constructor for the Output
ADT for incremental compiler.
Constructor for the Output
ADT for incremental compiler. Can either take groups (src -> out) or a single output.
Interface to the Scala compiler that uses the dependency analysis plugin. This class uses the Scala library and compiler provided by scalaInstance. This class requires a ComponentManager in order to obtain the interface code to scalac and the analysis plugin. Because these call Scala code for a different Scala version than the one used for this class, they must be compiled for the version of Scala being used.