This plugin provides support and utilities for integrating Gradle with the Java Platform Module System, also known as Project Jigsaw or JPMS.
On its own, this plugin doesn't do much. It is used by other plugins to share configurations and base functionality which is needed for modular Java builds. Read on below to learn more about what this plug-in does.
plugin {
id("dev.elide.jpms")
}
dependencies {
modulepath("your.cool:dependency")
}
modulepath
configuration: This plug-in adds a Gradle Configuration calledmodulepath
, which is used to specify modular dependencies. These dependencies factor intojmod
andjlink
builds, and automatically inject into the counterpartclasspath
configuration.
The jmod
plugin, jlink
plugin, graalvm
plugin, and jlink
plugin all use this one to manage
basic JPMS configuration.