VanillaGradle icon indicating copy to clipboard operation
VanillaGradle copied to clipboard

[Request] Add task to re-obfuscate a jar

Open mezz opened this issue 3 years ago • 4 comments
trafficstars

Hello,

I would like to publish obfuscated library jars using VanillaGradle. Currently there is no good way to do this. I tried to work around VanillaGradle by trying to use ForgeGradle or FabricLoom to do the obfuscation, but they are also not really set up to do this well at all. Their obfuscation tasks are set up to work on jars in-place or to only work on specific jar tasks, so they are not general or composable enough to work for this purpose.

Could VanillaGradle offer a way to obfuscate a target dev jar?

mezz avatar Jun 08 '22 03:06 mezz

It's on the roadmap, once #47 is completed (that specific PR is not up to date, glitch has a branch that has updated for FART)

zml2008 avatar Jun 08 '22 03:06 zml2008

Cool, thanks! I'll watch this issue for any updates.

I was able to find the branch here: https://github.com/theglitch76-forks/VanillaGradle/commit/2f9277433ff956baa858ebc03f39c5d7f3fd8318

mezz avatar Jun 08 '22 05:06 mezz

@zml2008 sorry to bug you, but has the status of this feature changed? I haven't kept up on VG development and wanted to check in to see if it's possible. Let me know if there's something I can work on.

mezz avatar Jun 17 '24 10:06 mezz

nah sorry, life's been super busy and seems like it will continue being busy - it seems reasonably possible to do a standalone remap task but it's not something I'd have time to look at in the near future I'm afraid

zml2008 avatar Jun 17 '24 10:06 zml2008