mirror of https://github.com/sbt/sbt.git
Merge pull request #4542 from smarter/less-dotty
Remove Dotty handling in scalaInstance
This commit is contained in:
commit
55c46c6ba8
|
|
@ -737,10 +737,7 @@ object Defaults extends BuildCommon {
|
|||
val allJars = toolReport.modules.flatMap(_.artifacts.map(_._2))
|
||||
val libraryJar = file(ScalaArtifacts.LibraryID)
|
||||
val binVersion = scalaBinaryVersion.value
|
||||
val compilerJar =
|
||||
if (ScalaInstance.isDotty(scalaVersion.value))
|
||||
file(ScalaArtifacts.dottyID(binVersion))
|
||||
else file(ScalaArtifacts.CompilerID)
|
||||
val compilerJar = file(ScalaArtifacts.CompilerID)
|
||||
new ScalaInstance(
|
||||
scalaVersion.value,
|
||||
makeClassLoader(state.value)(allJars.toList),
|
||||
|
|
|
|||
Loading…
Reference in New Issue