Skip to content

Commit

Permalink
Merge pull request #259 from big-andy-coates/gradle_7_5_1
Browse files Browse the repository at this point in the history
Document compatability
  • Loading branch information
big-andy-coates authored Feb 20, 2024
2 parents 769076c + b3496d1 commit c105755
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,29 @@ The plugin supports the following test engines:

An example application using this plugin is available [here](https://github.com/java9-modularity/gradle-modules-plugin-example).

Compatability
===

The plugin is compatible with the following Gradle versions:

| Gradle version | Min plugin version | Max plugin version |
|----------------|----------------------------------------------------------------------------------------|--------------------|
| 5.* -> 7.5.+ | 1.+ | |
| 7.6+ | See [issue #258](https://github.com/java9-modularity/gradle-modules-plugin/issues/258) | |

The plugin is compatible with the following Java versions:

| Java version | Min plugin version |
|--------------|--------------------|
| 11+ | 1.0.0 |

The plugin is compatible with the following Kotlin versions:

| Kotlin version | Min plugin version |
|----------------|--------------------|
| 1.0.* -> 1.6.* | 1.0.0 |
| 1.7+ | 1.8.12 |

Setup
===

Expand Down Expand Up @@ -636,7 +659,7 @@ Using the ModularJavaExec task
===
The `application` plugin can handle only one executable application.
To start multiple applications, you typically need to create a `JavaExec` task for each executable application.
The module plugin offers a similar task named `ModularJavaExec`, which helps executing modular applications.
The module plugin offers a similar task named `ModularJavaExec`, which helps to execute modular applications.
This task automatically configures the JVM with the correct arguments such as `--module-path`.
It exposes the same properties and methods as the [`JavaExec`](https://docs.gradle.org/current/dsl/org.gradle.api.tasks.JavaExec.html) task,
the only difference being that the module name should also be provided when setting the `main` property.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ModulePluginSmokeTest {
private enum GradleVersion {
v5_1, v5_6,
v6_3, v6_4_1, v6_5_1, v6_8_3,
v7_0, v7_2
v7_0, v7_5_1
;

@Override
Expand Down

0 comments on commit c105755

Please sign in to comment.