SpongeDocs icon indicating copy to clipboard operation
SpongeDocs copied to clipboard

Add section how to configure shadow JARs when setting up a MCP workspace

Open stephan-gh opened this issue 8 years ago • 3 comments

Using MCP in Plugins should be extended with a section that explains how to make it work together with a Shadow JAR. By default, ForgeGradle will only re-obfuscate the default JAR, therefore additional configuration is necessary to make it aware of the shadow JAR.

(This is mostly just a note for myself.)

stephan-gh avatar Feb 11 '17 10:02 stephan-gh

Is this still on your to-do list, or shall I tack on "help wanted" @Minecrell ?

Inscrutable avatar Apr 18 '18 09:04 Inscrutable

@Minecrell or anybody else: Could you give me a hint/link to demo plugin that I could use for this?

ST-DDT avatar Sep 07 '18 20:09 ST-DDT

i think this is the most commonly used gradle plugin to shadow http://imperceptiblethoughts.com/shadow/

example: https://github.com/SpongePowered/Cookbook/blob/master/Plugin/HelloFromKotlin/build.gradle

phit avatar Sep 08 '18 00:09 phit