Package org.gradle.api.tasks.compile
Class DebugOptions
- java.lang.Object
-
- org.gradle.api.tasks.compile.AbstractOptions
-
- org.gradle.api.tasks.compile.DebugOptions
-
- All Implemented Interfaces:
Serializable
public class DebugOptions extends AbstractOptions
Debug options for Java compilation. Only take effect ifCompileOptions.debug
is set totrue
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DebugOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDebugLevel()
Tells which debugging information is to be generated.void
setDebugLevel(String debugLevel)
Sets which debug information is to be generated.-
Methods inherited from class org.gradle.api.tasks.compile.AbstractOptions
define, excludeFromAntProperties, getAntPropertyName, getAntPropertyValue, optionMap
-
-
-
-
Method Detail
-
getDebugLevel
@Input @Optional public String getDebugLevel()
Tells which debugging information is to be generated. The value is a comma-separated list of any of the following keywords (without spaces in between):source
- Source file debugging information
lines
- Line number debugging information
vars
- Local variable debugging information
-
setDebugLevel
public void setDebugLevel(String debugLevel)
Sets which debug information is to be generated.
-
-