How best to utilise incremental compilation in sbt

1k views Asked by At

I want to gain an understanding of how incrementational compilation can be done on sbt. Having done a bit of research I have found that Zinc is one way of achieving this. sample zinc implementation.

Would love to hear any pointers that people would have to best measure how effective zinc can be

1

There are 1 answers

2
Jorge On

Disclaimer: I am a maintainer of both Zinc and Bloop.

Zinc is the standard (and only) way of doing incremental compilation in Scala. You can expect it to do the right thing and compile your code efficiently.

If you want to integrate with it, I recommend using Bloop which improves on zinc to compile your code faster than a custom zinc integration.