Plugin obfuscation through a Gradle task
Like many other developers, I'm using the IntelliJ Gradle plugin to build my plugin. I'm absolutely new to obfuscation but looking over the documentation of Zelix KlassMaster, it doesn't seem that they have an existing Gradle integration (only a Java API).
My overall goal would be to have a Gradle task that is run automatically so that one has e.g. a "buildPluginObfuscated" task which provides the final jar/zip of my plugin. Is there anyone who is already using something similar and who can provide some feedback?
Please sign in to leave a comment.
Hi,
I currently do it in gradle like this:
(only relevant parts)
You need the IntelliJ jars, RT.jar and jce.jar and ZKM libs.
And you need to overwrite some default task else it won't run if you disable jar task - when using obfuscatedJar task.