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")
}modulepathconfiguration: This plug-in adds a Gradle Configuration calledmodulepath, which is used to specify modular dependencies. These dependencies factor intojmodandjlinkbuilds, and automatically inject into the counterpartclasspathconfiguration.
The jmod plugin, jlink plugin, graalvm plugin, and jlink plugin all use this one to manage
basic JPMS configuration.