v0.20
Our second public release of this plugin - still a work in progress, but this release improves stability and performance. Not everything we had planned worked out, for example closure-compiler's typed_ast feature doesn't quite work the way we were hoping (and there are effectively no docs/examples of how to use the feature), so that will be an item to follow up on. Additionally the final task for BUNDLE_JAR could still be a good deal faster. The groundwork has been laid to improve both of these in the future.
This will be the final release to support running on Java 8 since both google/closure-compiler and google/turbine are raising their minimum Java version to 11.
Highlights
- Added support for
.xtb
-backed translation files, merging several files/locales on the project classpath into input to the Closure compiler. - Integrated https://github.com/google/turbine for faster builds and fewer rebuilds of Java bytecode and JS source. Note that this will not work on Java 8.
- Fixed #161, where editing a file while the j2cl:watch was running could hang the build.
- Fixed #121, where killing the build while it is running could force a clean before it could run again.
- Changed final BUNDLE_JAR task to avoid copying unchanged bundled JS files.
Known regressions
- #188: Watch service exception on shutdown. This only results in extra log lines, and doesn't represent an actual failure.
What's Changed
- Ready for 0.20 by @niloc132 in #148
- Correctly support reading files by path by @niloc132 in #152
- Add CI tests for Java 8 for some mvn versions by @niloc132 in #155
- Use HTML5 instead of HTML4 by @andirady in #156
- added optional configuration param 'translationsFile' that can be use… by @treblereel in #149
- Update to latest closure v20220502-1 by @niloc132 in #166
- Bump maven-shared-utils from 3.1.0 to 3.3.3 by @dependabot in #170
- ignore-maven-apt-test-annotations by @orielmaute in #169
- Remove jszip config arg, set it up as a dependency instead by @niloc132 in #173
- Better tracking for state of tasks inside the Scheduler by @niloc132 in #175
- .xtb auto discovery by @treblereel in #172
- Avoid copying unchanged project bundles in BUNDLE_JAR by @niloc132 in #179
- Move jetty useFileMappedBuffer flag to pom by @niloc132 in #180
- Add optional ability to use Turbine by @treblereel in #165
- generate resulted xtb file made of parent locales and all other suita… by @treblereel in #183
- Prevent interrupt/kill from leaving broken cache by @niloc132 in #184
- When a task is ready to run and enqueued, mark it as started right away by @niloc132 in #187
New Contributors
- @andirady made their first contribution in #156
- @dependabot made their first contribution in #170
- @orielmaute made their first contribution in #169
Full Changelog: v0.19...v0.20