ScalaInstance

sbt.internal.inc.ScalaInstance
See theScalaInstance companion class
object ScalaInstance

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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.

Attributes

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

Get a scala artifact from a given directory.

Get a scala artifact from a given directory.

Attributes

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.

Attributes

val VersionPrefix: String

The prefix being used for Scala artifacts name creation.

The prefix being used for Scala artifacts name creation.

Attributes