Two major features have been added in this release:
- Support for creating libraries that also target older Java releases (contributed by @tlinkowski)
- DSL support for --add-reads,-opens,-exports (contributed by @aalmiray)
Support for creating libraries that also target older Java releases
This feature is for library maintainers that want to include a module-info.java for users who are on modern Java versions, but also still need to maintain support for older Java versions that don't support modules.
The feature includes a DSL to configure what Java releases to target and is explained in detail in the docs: https://github.com/java9-modularity/gradle-modules-plugin#compilation
Thanks to @tlinkowski for contributing this work!
DSL support for --add-reads,-opens,-exports
New DSL options are supported to explicitly set flags such as for compiling, running and testing modules. Details are described in the docs https://github.com/java9-modularity/gradle-modules-plugin#monkeypatching-the-module.
Thanks to @aalmiray for contributing this work!