Groovy Documentation

org.gradle.api.tasks.compile
[Java] Class DependOptions

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

public 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

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

Authors:
Steve Appling


Method Summary
List excludedFieldsFromOptionMap()

String getClasspath()

boolean isClosure()

boolean isDump()

boolean isUseCache()

boolean isWarnOnRmiStubs()

void setClasspath(String classpath)

void setClosure(boolean closure)

void setDump(boolean dump)

void setUseCache(boolean useCache)

void setWarnOnRmiStubs(boolean warnOnRmiStubs)

 
Methods inherited from class AbstractOptions
define, excludedFieldsFromOptionMap, fieldName2AntMap, fieldValue2AntMap, optionMap
 

Method Detail

excludedFieldsFromOptionMap

public List excludedFieldsFromOptionMap()


getClasspath

public String getClasspath()


isClosure

public boolean isClosure()


isDump

public boolean isDump()


isUseCache

public boolean isUseCache()


isWarnOnRmiStubs

public boolean isWarnOnRmiStubs()


setClasspath

public void setClasspath(String classpath)


setClosure

public void setClosure(boolean closure)


setDump

public void setDump(boolean dump)


setUseCache

public void setUseCache(boolean useCache)


setWarnOnRmiStubs

public void setWarnOnRmiStubs(boolean warnOnRmiStubs)


 

Gradle API 1.0