Hi all, Could you tell me the following gradle code comply with the syntax of groovy? The 'task' can be a method, what about 'taskA' and '<<'? Thanks in advance.
task taskA << { println "i'm task A" } ----------- my experimental code, but failed with exceptions ----------------- def task(t) { t() } task taskA << { println "i'm task A" } ================= groovy.lang.MissingPropertyException: No such property: taskA for class: ConsoleScript8 at ConsoleScript8.run(ConsoleScript8:5) ---------------------------- -- View this message in context: http://groovy.329449.n5.nabble.com/About-the-syntax-of-groovy-tp5729026.html Sent from the Groovy Users mailing list archive at Nabble.com.