diff --git a/frontend/src/main/scala/bloop/engine/tasks/CompileTask.scala b/frontend/src/main/scala/bloop/engine/tasks/CompileTask.scala index 3a8cca306d..69ffccce0f 100644 --- a/frontend/src/main/scala/bloop/engine/tasks/CompileTask.scala +++ b/frontend/src/main/scala/bloop/engine/tasks/CompileTask.scala @@ -125,13 +125,6 @@ object CompileTask { 5 ) } - // get Bloop to replace the javac-classes-directory instead of the scip plugin so that no internal javac APIs are used. - val newJavacOptions = project.javacOptions.map(option => - option.replaceAllLiterally( - "-targetroot:javac-classes-directory", - s"-targetroot:${newClassesDir}" - ) - ) val inputs = newScalacOptions.map { newScalacOptions => CompileInputs( @@ -143,7 +136,7 @@ object CompileTask { compileOut, project.out, newScalacOptions.toArray, - newJavacOptions.toArray, + project.javacOptions.toArray, project.compileJdkConfig.flatMap(_.javacBin), project.compileOrder, project.classpathOptions,