Repository navigation
Releases: java9-modularity/gradle-modules-plugin
Release list
v1.8.8
v1.8.7
v1.8.6
v1.8.3
v1.8.2
v1.8.1
v1.8.0
New features and bug fixes in this release:
- #182: Gradle 7.0 compatibility
- #140: Support gradle test fixtures
- #71: Consider transitive dependencies when resolving TestEngine
- #161: Fix sample projects for JUnit 5.5.x support
- #172: TestNG has the wrong module name for versions 7.0.0 and above
- #170: Gradle 6.5 javadoc task, addExports is not working
- #175: JUnit Params not detected
- #177: Readme: fixed Reference to compileModuleInfoSeparatly
- #179: Migrate from Travis to GitHub Actions
- #184: Gradle 7: test.moduleOptions.runOnClasspath doesn't work for test compilation
Thanks to @MariusVolkhart and @martilidad for their contributions to this release!
v1.7.0
This release adds a few new features and fixes several issues. Some of them are:
- #1 - Introduce support for the Spock Testing framework
- #33 - Support for Eclipse plugin
- #65 - unexpected arguments in main
- #93 - Patch module does not handle multiple jars
- #111 - Since 1.6.0 - "error: file should be on source path, or on patch path for module"
- #112 - Print warning when using with Gradle < 5
- #123 - Adding support for additional test frameworks (Mockito, EasyMock, AssertJ, JUnit 5.5.x)
- #124 - No way to set module version?
- #130 - Add support for new junit-jupiter artifact ID of JUnit 5
- #132 - compileJava tasks fails in gradle 6.1
- #143 - Gradle multiproject fails to find automatic-module-name with dependency on java-library.
- #154 - make plugin compatible with Gradle 6.4
- #156 - Circular dependency in complex project (in compileModuleInfoJava)
Thanks to @Alfred-65 and @bredmold for their contributions to this release!
v1.6.0
Release 1.6.0 adds support for Groovy, and contains a number of improvements and bug fixes.
https://github.com/java9-modularity/gradle-modules-plugin/milestone/5?closed=1
Note: #80 introduced minor potentially breaking changes for Kotlin DSL (= some imports need to be updated).
v1.5.0
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!