I've decided to re-implement a plugin of mine using Groovy and I'm having a little trouble understanging how to configur ethe plugin's module settings.
By looking at the IDEA lib directory, I see that IDEA is bundled with Groovy 1.7.3 - so I created a global groovy library pointing at the groovy-all-1.7.3.jar file and added it to my module's dependencies (setting the scopr to "provided" so it wouldn't be bundled).
It does actually work - I can make Groovy classes and point the plugin.xml at them and run the plugin ok. The only small problem is that IDEA throws this warning every time I compile:
The global transform for class groovy.grape.GrabAnnotationTransformation is defined in both jar:file:/Users/wom/jvm/IntelliJ%20IDEA%2011.app/lib/groovy-all-1.7.3.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation and jar:file:/Users/wom/jvm/IntelliJ%20IDEA%2011%20CE.app/lib/groovy-all-1.7.3.jar!/META-INF/services/org.codehaus.groovy.transform.ASTTransformation - the former definition will be used and the latter ignored.
Is there some way I can get rid of this warning (or am I doing it completely wrong)?
Original message URL: http://devnet.jetbrains.net/message/5447599#5447599