paperweight icon indicating copy to clipboard operation
paperweight copied to clipboard

Adds a variants from configuration

Open yannicklamprecht opened this issue 2 years ago • 0 comments

When maven publish plugin is present on userdev projects a normal publish results into a wrong module file in maven repository.

This commit adds the missing reobfuscated jars to this module file.

The initial issue is that depending on the reobfuscated plugin dependency results into loading the dev dependency because no reobfuscated one is defined in the module file.

Example: before that change: https://eldonexus.de/repository/maven-releases/com/github/yannicklamprecht/worldborderapi/1.181.1/worldborderapi-1.181.1.module after that change: https://eldonexus.de/repository/maven-releases/com/github/yannicklamprecht/worldborderapi/1.181.2/worldborderapi-1.181.2.module

The diffs are the missing files in the two variants: apiElements and runtimeElements

yannicklamprecht avatar Feb 15 '22 23:02 yannicklamprecht