How to integrate Proguard obfuscation in my JavaFX's IntelliJ artifact?

Viewed 4621

I'm developing a JavaFX application using IntelliJ IDEA as the IDE.

So far, everything runs smoothly, I have all my external libs configured and my JavaFX artifact being correctly created.

Now I would like to integrate obfuscation (using Proguard) when the artifact is created.

IntelliJ have a 'Pre-processing' and 'Post-processing' option in artifact's properties where I can define an Ant task to be runned.

But I have no idea how to create that task and tell the compiler my obfuscation options.

Thank you very much in advance for any clues,

Best regards

2 Answers
Related