Remove dotty tool dependencies

This commit is contained in:
Adrien Piquerez 2020-12-17 10:24:07 +01:00
parent acc94fd847
commit f38a7272e7
1 changed files with 2 additions and 4 deletions

View File

@ -3078,10 +3078,8 @@ object Classpaths {
val version = scalaVersion.value
if (scalaHome.value.isDefined || scalaModuleInfo.value.isEmpty || !managedScalaInstance.value)
pluginAdjust
else {
val isDotty = ScalaInstance.isDotty(version)
ScalaArtifacts.toolDependencies(sbtOrg, version, isDotty) ++ pluginAdjust
}
else
ScalaArtifacts.toolDependencies(sbtOrg, version) ++ pluginAdjust
},
// in case of meta build, exclude all sbt modules from the dependency graph, so we can use the sbt resolved by the launcher
allExcludeDependencies := {