Return the Scala library to the boot classpath if addLibrary
is true.
Return the Scala library to the boot classpath if addLibrary
is true.
Flag to return the Scala library.
Finish the classpath by adding extra Scala classpath entries if required.
Finish the classpath by adding extra Scala classpath entries if required.
The classpath seed to be modified.
A classpath ready to be passed to the Scala compiler.
Construct the list of compiler arguments that are passed to the Scala compiler based on the current xsbti.compile.ScalaInstance and the user-defined xsbti.compile.ClasspathOptions.
This is required because Scala compiler arguments change depending on the Scala version, e.g. the jars for the Scala library and the Scala compiler have to be present in the classpath and match the Scala version of the current Scala compiler.
The Scala home property (
scala.home
) must be unset because Scala puts jars in that directory and pass it in asbootclasspath
. Therefore, the contents of this property are managed by this implementation and it's strictly forbidden that the client manages this property.