Configure Gradle jar task for fat JAR

Proprietary

Configures the Gradle jar task to produce a self-contained fat JAR with all runtime dependencies bundled. Supports both Groovy DSL (build.gradle) and Kotlin DSL (build.gradle.kts).

io.moderne.java.server.jboss.ConfigureGradleFatJar

Required

The fully qualified name of the application main class.

mod run . --recipe=io.moderne.java.server.jboss.ConfigureGradleFatJar \ -P mainClass=com.example.JettyServer

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.