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
Only if your (existing) project cannot avoid using non-module legacy Jars
34
37
35
-
[Here is a sample](https://github.com/jjohannes/java-module-testing/tree/main/samples/use-all-java-module-plugins)
38
+
[Here is a sample](https://github.com/gradlex-org/java-module-testing/tree/main/samples/use-all-java-module-plugins)
36
39
that shows all plugins in combination.
37
40
38
41
[Full Java Module System Project Setup](https://github.com/jjohannes/gradle-project-setup-howto/tree/java_module_system) is a full-fledged Java Module System project setup using these plugins.
@@ -51,11 +54,11 @@ you can check out my [Understanding Gradle video series](https://www.youtube.com
51
54
## Plugin dependency
52
55
53
56
Add this to the build file of your convention plugin's build
54
-
(e.g. `build-logic/build.gradle(.kts)` or `buildSrc/build.gradle(.kts)`).
57
+
(e.g. `gradle/plugins/build.gradle(.kts)` or `buildSrc/build.gradle(.kts)`).
@@ -66,7 +69,7 @@ In your convention plugin, apply the plugin.
66
69
```
67
70
plugins {
68
71
...
69
-
id("de.jjohannes.java-module-dependencies")
72
+
id("org.gradlex.java-module-dependencies")
70
73
}
71
74
```
72
75
@@ -76,8 +79,8 @@ You may define additional mappings from _Module Name_ to _group:name (GA) coordi
76
79
77
80
The plugin already knows about Modules available on Maven Central. The information is stored in:
78
81
79
-
-[modules.properties](src/main/resources/de/jjohannes/gradle/moduledependencies/modules.properties) - [please open a PR](https://github.com/jjohannes/extra-java-module-info/pulls) if you miss an entry
80
-
-[unique_modules.properties](src/main/resources/de/jjohannes/gradle/moduledependencies/unique_modules.properties) - this information is extracted from [modules.properties](https://github.com/sormuras/modules/blob/main/com.github.sormuras.modules/com/github/sormuras/modules/modules.properties) by [@sormuras](https://github.com/sormuras)
82
+
-[modules.properties](src/main/resources/org/gradlex/javamodule/dependencies/modules.properties) - [please open a PR](https://github.com/gradlex-org/extra-java-module-info/pulls) if you miss an entry
83
+
-[unique_modules.properties](src/main/resources/org/gradlex/javamodule/dependencies/unique_modules.properties) - this information is extracted from [modules.properties](https://github.com/sormuras/modules/blob/main/com.github.sormuras.modules/com/github/sormuras/modules/modules.properties) by [@sormuras](https://github.com/sormuras)
81
84
82
85
You can define additional entries (or overwrite entries from the plugin) as follows:
83
86
@@ -116,7 +119,7 @@ For libraries that consist of multiple components and have a BOM for version man
116
119
```
117
120
plugins {
118
121
id("java-platform")
119
-
id("de.jjohannes.java-module-dependencies")
122
+
id("org.gradlex.java-module-dependencies")
120
123
}
121
124
122
125
// Define versions for Modules via the Module Name
0 commit comments