mirror of
https://github.com/sbt/sbt.git
synced 2026-08-22 06:07:24 +02:00
Add convenience methods buildLibraryJar, buildCompilerJar, and buildScalaJars for accessing Scala jars as Paths.
This commit is contained in:
@@ -234,6 +234,9 @@ trait Project extends TaskManager with Dag[Project] with BasicEnvironment
|
|||||||
|
|
||||||
def componentManager = new ComponentManager(info.launcher.globalLock, info.app.components, log)
|
def componentManager = new ComponentManager(info.launcher.globalLock, info.app.components, log)
|
||||||
def buildScalaInstance = buildScalaInstance0
|
def buildScalaInstance = buildScalaInstance0
|
||||||
|
def buildLibraryJar = Path.fromFile(buildScalaInstance.libraryJar)
|
||||||
|
def buildCompilerJar = Path.fromFile(buildScalaInstance.compilerJar)
|
||||||
|
def buildScalaJars = Path.finder { buildScalaInstance.jars }
|
||||||
final def buildScalaInstance0: ScalaInstance =
|
final def buildScalaInstance0: ScalaInstance =
|
||||||
{
|
{
|
||||||
val scalaVersion = buildScalaVersion
|
val scalaVersion = buildScalaVersion
|
||||||
|
|||||||
Reference in New Issue
Block a user