An AntBuilder
allows you to use Ant from your build script.
Type | Name and description |
---|---|
AntBuilder |
getAnt() Returns this AntBuilder. |
Map<String, Object> |
getProperties() Returns the properties of the Ant project. |
Map<String, Object> |
getReferences() Returns the references of the Ant project. |
void |
importBuild(Object antBuildFile) Imports an Ant build into the associated Gradle project. |
Methods inherited from class | Name |
---|---|
class AntBuilder |
getProject, getAntXmlContext, isSaveStreams, setSaveStreams, getAntProject, invokeMethod, invokeMethod, setProperty, getProperty, setMetaClass, getMetaClass, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
class BuilderSupport |
invokeMethod, invokeMethod, setProperty, getProperty, setMetaClass, getMetaClass, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Returns this AntBuilder. Useful when you need to pass this builder to methods from within closures.
Returns the properties of the Ant project. This is a live map, you that you can make changes to the map and these changes are reflected in the Ant project.
Returns the references of the Ant project. This is a live map, you that you can make changes to the map and these changes are reflected in the Ant project.
Imports an Ant build into the associated Gradle project.
antBuildFile
- The build file. This is resolved as per Project#file(Object)#file(Object).