ScalaInstance

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

def allJars(scalaHome: File): Seq[File]

Return all the required Scala jars from a path scalaHome.

Return all the required Scala jars from a path scalaHome.

def apply(org: String, version: String, launcher: Launcher): ScalaInstance

Create a ScalaInstance from a given org, version and launcher.

Create a ScalaInstance from a given org, version and launcher.

def apply(version: String, launcher: Launcher): ScalaInstance

Creates a ScalaInstance using the given provider to obtain the jars and loader.

Creates a ScalaInstance using the given provider to obtain the jars and loader.

def apply(version: String, provider: ScalaProvider): ScalaInstance

Create a ScalaInstance from a version and a given provider that defines the location of the jars and the loader to be used.

Create a ScalaInstance from a version and a given provider that defines the location of the jars and the loader to be used.

def apply(scalaHome: File, launcher: Launcher): ScalaInstance
def apply(scalaHome: File)(classLoader: List[File] => ClassLoader): ScalaInstance
def apply(version: String, scalaHome: File, launcher: Launcher): ScalaInstance
def isDotty(version: String): Boolean

Distinguish Dotty and Scala 2 version given the version number.

Distinguish Dotty and Scala 2 version given the version number.

def scalaJar(scalaHome: File, name: String): File

Get a scala artifact from a given directory.

Get a scala artifact from a given directory.

Concrete fields

val ScalaOrg: String

Name of scala organisation to be used for artifact resolution.

Name of scala organisation to be used for artifact resolution.

val VersionPrefix: String

The prefix being used for Scala artifacts name creation.

The prefix being used for Scala artifacts name creation.