diff --git a/src/main/scala/higherkindness/rules_scala/workers/zinc/compile/ZincRunner.scala b/src/main/scala/higherkindness/rules_scala/workers/zinc/compile/ZincRunner.scala index 82aafc79..d2798864 100644 --- a/src/main/scala/higherkindness/rules_scala/workers/zinc/compile/ZincRunner.scala +++ b/src/main/scala/higherkindness/rules_scala/workers/zinc/compile/ZincRunner.scala @@ -209,8 +209,8 @@ object ZincRunner extends WorkerMain[ZincRunnerWorkerConfig] { val compileOptions = CompileOptions.create - .withSources(sources.map(source => PlainVirtualFile(source.toAbsolutePath().normalize())).toArray) - .withClasspath((classesOutputDir +: deps.map(_.classpath)).map(path => PlainVirtualFile(path)).toArray) + .withSources(sources.view.map(source => PlainVirtualFile(source.toAbsolutePath().normalize())).toArray) + .withClasspath((classesOutputDir +: deps.map(_.classpath)).view.map(path => PlainVirtualFile(path)).toArray) .withClassesDirectory(classesOutputDir) .withJavacOptions(workRequest.javaCompilerOptions) .withScalacOptions( @@ -332,7 +332,7 @@ object ZincRunner extends WorkerMain[ZincRunnerWorkerConfig] { deps.filter(Dep.used(deps, resultAnalysis.relations, lookup)).filterNot { dep => val filteredDepFileName = FileUtil.getNameWithoutRulesJvmExternalStampPrefix(dep.file) - scalaInstance.libraryJars + scalaInstance.libraryJars.view .map(FileUtil.getNameWithoutRulesJvmExternalStampPrefix) .contains(filteredDepFileName) }