Incremental tasks
An important highlight of this release is an update to the task API to provide information about what has changed since the last successful run, enabling components of the build to incrementally build instead of starting from scratch each time. Only some tasks take advantage of this at this time, but more will be added soon. Note that this feature is disabled by default for now, but in a future release this will be enabled by default. Set system property j2cl.incremental
or the plugin configuration <incrementalEnabled>
to true to enable this in your project or environment.
Minimum supported Java version
As of this release Java 8 is no longer supported - a minimum of Java 11 is required to run this plugin.
Updated J2CL and Closure-Compiler
This version updates to a newer version of both J2CL and Closure-Compiler than the previous release, but these versions are from late 2022. A new release will follow soon to update to a release from Q2 2023.
What's Changed
- Ready for 0.21 by @niloc132 in #195
- Correct externs so the compiler avoids a warning by @niloc132 in #200
- Update archetypes/tests to use jstype rather than break with j2cl changes by @niloc132 in #198
- Update to a newer htmlunit that supports globalThis, fetch, etc by @niloc132 in #194
- Suggested maven version/scope changes by @niloc132 in #199
- 192 partial fix by @treblereel in #201
- Fix a path in the (disabled) web component integration test by @niloc132 in #203
- Drop support for Java 8, in anticipation of updating closure by @niloc132 in #204
- Update circleci to a newer image format with Java 11 by @niloc132 in #206
- Update J2CL and Closure dependencies by @niloc132 in #207
- Java 11 upgrade by @niloc132 in #211
- Validate compilationLevel string before building task by @niloc132 in #216
- Incremental API and disk format for task caching by @niloc132 in #210
Full Changelog: v0.20...v0.21