On 02/20/2013 06:33 AM, R. Tyler Croy wrote:
I'm wondering if support for actually writing plugins fully in Groovy was ever
built?
AFAIK you can just create src/main/groovy/**/*.groovy and start coding.
The one problem I know of is that Groovy does not implement JSR 269 [1] so indexed annotations (especially @Extension) will be ignored. The workaround would be to use
src/main/java/**/*.java to write “entry points” but implement all the real logic in Groovy files.
Stapler views may be written in Groovy (src/main/resources/**/*.groovy rather
than src/main/resources/**/*.jelly).
It would be great for someone to publish a Maven archetype showing how to do
all this, to supplement the Java/Jelly-based archetype in maven-hpi-plugin.
[1] http://jira.codehaus.org/browse/GROOVY-3361
--
You received this message because you are subscribed to the Google Groups "Jenkins
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.