Releases: sbt/zinc
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
Zinc 1.4.0 is available for both Scala 2.12 and 2.13.
VirtualFile / VirtualFileRef
This is a major refactoring of Zinc internals to use an abstraction over "file" called VirtualFile
(includes content) and VirtualFileRef
(just the file name). They can be backed either by real NIO Paths or in-memory String. The purpose is to make the internal incremental state Analysis
machine-independent.
Build pipelining
This adds a facility to implement incremental, module-level build pipelining, which allows Scala subprojects to start compilation earlier than when the upstream compilation is complete. A build tool that wishes to implement this should implement two settings:
exportPipelining
. The subproject withexportPipelining
exports the early output (also known as pickle JAR) and early analysis, and also responsible for setting-Ypickle-java
and-Ypickle-write
flag.usePipelining
. The subproject withusePipelining
must setincOptions.value.withPipelining(true)
. This tells Zinc to skip Java compilation.
Only Scala compiler is currently capable of pipelined compilation, so the build tool is responsible for calling compileAllJava(...)
after all of upstream also have the full compilation done. Note: A single subproject may take all combinations of exportPipelining
and usePipelining
settings.
1.4.0-M9
1.4.0-M8
1.4.0-M7
1.4.0-M2
1.4.0-M1
I've just released Zinc 1.4.0-M1. Note this is a beta release and it won't be compatible with future 1.4.x, but I chose a commit fairly close to 1.3.x so it should be usable.
- Cross builds Zinc to Scala 2.12 and 2.13 zinc#754 by @eed3si9n
- Upgrades ScalaPB to 0.9.3 zinc#713 by @slandelle
- Replaces ZipUtils usage of deprecated
java.util.Date
withjava.time
zinc#714 by @slandelle