I would like to define the wrapper task from within a plugin I wrote so that
anyone using the plugin can just run "gradle wrapper". When I add the
following to the plugin, I get a class not found error:
project.createTask('wrapper', type: Wrapper).configure{
gradleVersion = '0.3'
}
If I add this class to the classpath for my plugin class, it compiles but I
get a task creation error on the other end when I use the plugin. I have
also tried using the full path of the class, but I get an error stating
property 'org' does not exist for the plugin class.
How can I resolve this issue and define the wrapper task from within a
plugin? Thanks for any help.
--
View this message in context:
http://www.nabble.com/wrapper-task-within-a-plugin-tp19092886p19092886.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email