Package: org.codehaus.groovy.ant

## [Java] Class GroovycTask

- org.codehaus.groovy.ant.GroovycTask

-     public class GroovycTask
      extends CompileTaskSupport

  Compiles Groovy source files.

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `protected boolean` | `force` | Forces every matching source file to be compiled.

  - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class CompileTaskSupport` | `classpath, config, destdir, failOnError, log, src`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `protected void` | `compile()` Compiles the configured Groovy sources.
    `` | `public void` | `setForce(boolean flag)` Controls whether compilation should ignore timestamp checks.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class CompileTaskSupport` | `compile, createClassLoader, createClasspath, createConfiguration, createSrc, execute, getClasspath, getFailonerror, getSrcdir, handleException, setClasspath, setClasspathRef, setDestdir, setFailonerror, setSrcdir, validate`

- - ### Field Detail

    - #### protected boolean force

      Forces every matching source file to be compiled.

  - ### Method Detail

    - #### protected void compile()

      Compiles the configured Groovy sources.

    - #### public void setForce(boolean flag)

      Controls whether compilation should ignore timestamp checks.

      Parameters:
        `flag` - `true` to compile every matching source file