Hi all,
Is it possible to use a convention property inside apply method? I've tried
the code bellow but it prints null:
class GreetingPlugin implements Plugin<Project> {
def void apply(Project project) {
project.convention.plugins.greet = new GreetingPluginConvention()
println "Convention property " +
project.convention.plugins.greet.message
}
}
Any ideas? Thanks.
Ricardo
--
View this message in context:
http://gradle.1045684.n5.nabble.com/Use-plugin-convention-property-in-apply-method-tp4731829p4731829.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