Can proguard be used with Grails
I don’t know Proguard or Grails, but I know that:
- Grails uses Groovy
- Groovy will compile to bytecode
- Proguard works with bytecode (not source)
So my intuition is yes ProGuard can compress / obfuscate grails applications. Your question is asking about using ProGuard in the src / java folder. It is important to understand that ProGuard works with .class files, not .java files. Correct configuration should work in bin directory, not src. Unfortunately, I am not qualified to give you the detailed configuration of the example, but I hope this gets you on the right track.
source to share