You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.MD
+27-1Lines changed: 27 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ To manage the versions of Java Modules, the plugin conveniently integrates with
10
10
[Dependency Versions Constraints](https://docs.gradle.org/current/userguide/dependency_constraints.html#sec:adding-constraints-transitive-deps) in general
11
11
as well as [Version Catalogs](https://docs.gradle.org/current/userguide/platforms.html#sub:version-catalog).
12
12
13
+
There is a [CHANGELOG.md](CHANGELOG.md).
14
+
13
15
# How to use?
14
16
15
17
Dor a quick start, you can find some samples here:
@@ -186,7 +188,6 @@ org_slf4j = "1.7.36"
186
188
org_slf4j_simple = "1.7.36"
187
189
```
188
190
189
-
190
191
## Analyze Module Paths
191
192
192
193
You can use the `analyzeModulePath` help task to analyse the Module Paths of a project.
@@ -227,6 +228,31 @@ Notes / Options:
227
228
- Patch legacy Jars to Modules: https://github.com/jjohannes/extra-java-module-info
228
229
```
229
230
231
+
## Migrate existing Java projects to Java Modules
232
+
233
+
The plugin provides a `generateAllModuleInfoFiles` task for each project that applies it.
234
+
You can use that to generate an initial `module-info.java` from the dependencies declared in Gradle.
235
+
This is not a sophisticated migration tool, but useful, in combination with `analyzeModulePath`, to explore what it would take to migrate an existing project to Modules.
236
+
237
+
238
+
## Integration with the Extra Java Module Info plugin
239
+
240
+
This plugin integrates with the [Extra Java Module Info](https://github.com/jjohannes/extra-java-module-info) plugin if both are applied.
241
+
Module Name mappings for Jars that were patched with extra module info will be automatically registered.
0 commit comments