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
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/jpackageimage.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
hiero-consensus-node: build: build 'fat module jars' instead of 'shadow jars' hiero-consensus-node#26242org.hiero.gradle.feature.fatjarand retireorg.hiero.gradle.feature.shadow"