mirror of https://github.com/sbt/sbt.git
Do a first pass on the Zinc internal implementation
This commit addresses several concers: * Document better the Zinc internal implementation. * Getting the implementation ready for moving things from internal to public APIs. This will be done in a follow-up commit. * Removing `inputs` and `setups` from the `IncrementalCompilerUtil` as they exist mainly to interface between Scala code and Java code. The reality is that both Java and Scala developers can easily call the constructors by themselves and don't learn more API methods. * Removes unused imports, that emit stupid warnings. * Make code more readable, especifically in the analyzing compilers for both Java and Scala, which was hardly understandable and documented. * Make `AnalyzingJavaCompiler` to extend `JavaCompiler` as `AnalyzingCompiler` does for `ScalaCompiler`. In an upcoming commit, `AnalyzingCompiler` will be renamed into `AnalyzingScalaCompiler` for consistency reasons. * Replace use of `sbt.util.Logger` helpers by `sbt.util.InterfaceUtil`.
This commit is contained in:
parent
ddb9cfd3f9
commit
5cea7ae09f
|
|
@ -10,7 +10,7 @@ import sbt.internal.librarymanagement.JsonUtil
|
|||
import sbt.io.IO
|
||||
import sbt.io.syntax._
|
||||
import sbt.librarymanagement.{ ModuleID, UpdateOptions, Resolver, Patterns, FileRepository, DefaultMavenRepository }
|
||||
import sbt.util.{ Logger, Level }
|
||||
import sbt.util.Logger
|
||||
import xsbti.{ ComponentProvider, GlobalLock }
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue