File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/main/scala/higherkindness/rules_scala/workers/zinc/compile Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -209,8 +209,8 @@ object ZincRunner extends WorkerMain[ZincRunnerWorkerConfig] {
209209
210210 val compileOptions =
211211 CompileOptions .create
212- .withSources(sources.map(source => PlainVirtualFile (source.toAbsolutePath().normalize())).toArray)
213- .withClasspath((classesOutputDir +: deps.map(_.classpath)).map(path => PlainVirtualFile (path)).toArray)
212+ .withSources(sources.view. map(source => PlainVirtualFile (source.toAbsolutePath().normalize())).toArray)
213+ .withClasspath((classesOutputDir +: deps.view. map(_.classpath)).map(path => PlainVirtualFile (path)).toArray)
214214 .withClassesDirectory(classesOutputDir)
215215 .withJavacOptions(workRequest.javaCompilerOptions)
216216 .withScalacOptions(
@@ -333,7 +333,7 @@ object ZincRunner extends WorkerMain[ZincRunnerWorkerConfig] {
333333 deps.filter(Dep .used(deps, resultAnalysis.relations, lookup)).filterNot { dep =>
334334 val filteredDepFileName = FileUtil .getNameWithoutRulesJvmExternalStampPrefix(dep.file)
335335
336- scalaInstance.libraryJars
336+ scalaInstance.libraryJars.view
337337 .map(FileUtil .getNameWithoutRulesJvmExternalStampPrefix)
338338 .contains(filteredDepFileName)
339339 }
You can’t perform that action at this time.
0 commit comments