From e035147c811f2adbe1787fc83f67660b3fb19237 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Tue, 12 Feb 2019 18:27:16 +0100 Subject: [PATCH] CompilerArguments: remove Dotty special-case This was always a hack and isn't needed as of sbt-dotty 0.3.0 (https://github.com/lampepfl/dotty/pull/5835). --- .../src/main/scala/sbt/internal/inc/CompilerArguments.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/zinc-compile-core/src/main/scala/sbt/internal/inc/CompilerArguments.scala b/internal/zinc-compile-core/src/main/scala/sbt/internal/inc/CompilerArguments.scala index ea87ce82f7..ca8860491a 100644 --- a/internal/zinc-compile-core/src/main/scala/sbt/internal/inc/CompilerArguments.scala +++ b/internal/zinc-compile-core/src/main/scala/sbt/internal/inc/CompilerArguments.scala @@ -121,7 +121,7 @@ final class CompilerArguments( (IO.parseClasspath(System.getProperty(k, "")) * "*.jar").get) private[this] def include(flag: Boolean, jars: File*) = - if (flag || ScalaInstance.isDotty(scalaInstance.version)) jars + if (flag) jars else Nil private[this] def abs(files: Seq[File]) =