From 35a2207f6c2ec30b4e6c3eb4d76acd9373508eb1 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Sat, 9 Sep 2017 14:01:27 +0200 Subject: [PATCH] Fix #3090: IntelliJ cannot import the project The repl sub-directory does not exist anymore, but it was still added in Build.scala. This does not break building with sbt but apparently it breaks importing the project in IntelliJ --- project/Build.scala | 7 ------- 1 file changed, 7 deletions(-) diff --git a/project/Build.scala b/project/Build.scala index 71b60f334666..a21f9db185d1 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -477,13 +477,6 @@ object Build { "com.novocode" % "junit-interface" % "0.11" % "test", "org.scala-lang" % "scala-library" % scalacVersion % "test"), - // Repl subproject shouldn't be distributed on its own yet, so the - // sources need to be included in the dotty compiler to be available to - // the sbt bridge - unmanagedSourceDirectories in Compile += baseDirectory.value / ".." / "repl" / "src", - unmanagedSourceDirectories in Test += baseDirectory.value / ".." / "repl" / "test", - unmanagedResourceDirectories in Test += baseDirectory.value / ".." / "repl" / "test-resources", - // enable improved incremental compilation algorithm incOptions := incOptions.value.withNameHashing(true),