A number of bindings are in scope for use within your Groovy statements.
Name | Description
ant | an instance of AntBuilder that knows about the current ant project
project | the current ant project
properties | a Map of ant properties
target | the owning target that invoked this groovy script
task | the wrapping task, can access anything needed in org.apache.tools.ant.Task