Skip to content

Latest commit

 

History

History

jpms

Gradle JPMS Plugin

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.

How to use it

plugin {
    id("dev.elide.jpms")
}

dependencies {
    modulepath("your.cool:dependency")
}

What it does

  • modulepath configuration: This plug-in adds a Gradle Configuration called modulepath, which is used to specify modular dependencies. These dependencies factor into jmod and jlink builds, and automatically inject into the counterpart classpath configuration.

What uses it

The jmod plugin, jlink plugin, graalvm plugin, and jlink plugin all use this one to manage basic JPMS configuration.