Skip to content

Support building fat Jars that package Java Modules #504

Description

@jjohannes

Problem

Currently we use the Shadow plugin which throws away all module information.

We acknowledge that building Fat Jars is useful for certain tools to have a OS/ARCH independent Jar, which is easier to handle as a jlink / jpackage image.

Solution

The idea is to package the full module Jars into a container Jar. The container Jar then contains a Launcher as entry point. Starting point.

This is now supported by: https://github.com/gradlex-org/java-module-packaging

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions