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

## org.gradle.api.tasks.compile
Class DependOptions

    java.lang.Object
      org.gradle.api.tasks.compile.AbstractOptions
          org.gradle.api.tasks.compile.DependOptions

    class DependOptions
    extends AbstractOptions

Options to send to Ant's depend task. Depends will delete out of date class files before compiling. This is not fool-proof, but will cut down on the frequency of having to do a clean build. This may or may not be faster than a clean build.

See the Ant Reference for more information.

## Ant Options

- srcDir - IGNORED - set automatically
- destDir - IGNORED - set automatically
- cache - IGNORED - set automatically
- closure - boolean controling depth of dependency graph traversal
- dump - dump dependency information to log
- classpath - extra classes to check
- warnOnRmiStubs - disables warnings for rmi stubs with no source

There is an additional "useCache" boolean option to enable/disable caching of dependency information. It is true by default.

author:
  Steve Appling

Property Summary
`java.lang.String` | `classpath`
`boolean` | `closure`
`boolean` | `dump`
`boolean` | `useCache`
`boolean` | `warnOnRmiStubs`

Constructor Summary
`DependOptions()`

Method Summary
`java.util.List` | `excludedFieldsFromOptionMap()`

Methods inherited from class AbstractOptions
addValueToMapIfNotNull, isOptionField

Property Detail

### classpath

    java.lang.String classpath

### closure

    boolean closure

### dump

    boolean dump

### useCache

    boolean useCache

### warnOnRmiStubs

    boolean warnOnRmiStubs

Constructor Detail

### DependOptions

    DependOptions()

Method Detail

### excludedFieldsFromOptionMap

    java.util.List excludedFieldsFromOptionMap()

Groovy Documentation