Skip to content

Commit

Permalink
docs: move before/after to before note on extra-java-module-info plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
samypr100 committed Sep 9, 2023
1 parent a97b2fe commit 64dcde0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,6 @@ explicitly add the [org.javamodularity.moduleplugin](https://plugins.gradle.org/
back to your build and set `java.modularity.inferModulePath.set(false)` to keep things working as they were.
This change should not be required for non-modular projects.

**Note**: There are other recommended alternatives over `org.javamodularity.moduleplugin` for modular projects such as
[extra-java-module-info](https://github.com/gradlex-org/extra-java-module-info) that would allow you to keep
`inferModulePath` set to **true** by declaring missing module information from legacy jars. More details on how to
accomplish can be found on the plugin's source code repository.

**Before**

````groovy
Expand All @@ -287,3 +282,8 @@ java {
modularity.inferModulePath.set(false)
}
````

**Note**: There are other recommended alternatives over `org.javamodularity.moduleplugin` for modular projects such as
[extra-java-module-info](https://github.com/gradlex-org/extra-java-module-info) that would allow you to keep
`inferModulePath` set to **true** by declaring missing module information from legacy jars. More details on how to
accomplish can be found on the plugin's source code repository.

0 comments on commit 64dcde0

Please sign in to comment.