Do not mess with Java's boot classpath.
Cache result of `compile` task.

This is *not* dependency analysis nor incremental
compilation. If any single source file or dependency
changes, everything is recompiled.

But at least, if nothing changes, then we skip
recompilation.
Cache result of `optimize-js` task.

Again, it is only nothing-or-everything.