Package groovy.util

Class AntBuilder

  • All Implemented Interfaces:
    GroovyObject

    public class AntBuilder
    extends BuilderSupport
    Allows Ant tasks to be used with a Groovy builder-style markup. Requires that {{ant.jar}} is on your classpath which will happen automatically if you are using the Groovy distribution but will be up to you to organize if you are embedding Groovy. If you wish to use the optional tasks you will need to add one or more additional jars from the ant distribution to your classpath - see the library dependencies for more details.
    Author:
    James Strachan, Dierk Koenig (dk), Marc Guillemot, Paul King
    • Constructor Detail

      • AntBuilder

        public AntBuilder()
      • AntBuilder

        public AntBuilder​(Project project)
      • AntBuilder

        public AntBuilder​(Project project,
                          Target owningTarget)
      • AntBuilder

        public AntBuilder​(Task parentTask)