Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api
Class AntBuilder

    java.lang.Object
      org.gradle.api.AntBuilder

    class AntBuilder

An `AntBuilder` allows you to use Ant from your build script.

Constructor Summary
`AntBuilder()`

Method Summary
`Map` | `getProperties()` Returns the properties of the Ant project.
`Map` | `getReferences()` Returns the references of the Ant project.
`void` | `importBuild(java.lang.Object antBuildFile)` Imports an Ant build into the associated Gradle project.

Methods inherited from class java.lang.Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll

Constructor Detail

### AntBuilder

    AntBuilder()

Method Detail

### getProperties

    public Map getProperties()

  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.
  return:
    The properties. Never returns null.

### getReferences

    public Map getReferences()

  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.
  return:
    The references. Never returns null.

### importBuild

    public void importBuild(java.lang.Object antBuildFile)

  Imports an Ant build into the associated Gradle project.
  param:
    antBuildFile The build file. This is resolved as per Project#file(Object).

Groovy Documentation