Merge pull request #4542 from smarter/less-dotty

Remove Dotty handling in scalaInstance
This commit is contained in:
eugene yokota 2019-02-13 19:12:08 -05:00 committed by GitHub
commit 55c46c6ba8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -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),