class ModuleInfoPlugin extends java.lang.Object
Gradle plugin for adding a "compileModuleInfo" task to the project. The task will be configured to compile a "module-info.java" file in a pre-9 Java project and output the resulting class into the output directory of the "compileJava" task.
The plugin also adds a "moduleMainClass" task that, if a main class is specified, updates the jar file with a main class attribute.
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
apply(org.gradle.api.Project pProject) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |