|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.tasks.compile.AbstractOptions org.gradle.api.tasks.scala.ScalaCompileOptions
public class ScalaCompileOptions extends AbstractOptions
Options for Scala compilation.
Method Summary | |
---|---|
protected boolean
|
excludeFromAntProperties(String fieldName)
|
List
|
getAdditionalParameters()
Additional parameters passed to the compiler. |
protected String
|
getAntPropertyName(String fieldName)
|
protected Object
|
getAntPropertyValue(String fieldName, Object value)
|
String
|
getDaemonServer()
Server (host:port) on which the compile daemon is running. |
String
|
getDebugLevel()
Generate debugging information. |
String
|
getEncoding()
Encoding of source files. |
String
|
getForce()
Whether to force the compilation of all files. |
ScalaForkOptions
|
getForkOptions()
Options for running the Scala compiler in a separate process. |
IncrementalCompileOptions
|
getIncrementalOptions()
|
String
|
getLoggingLevel()
Specifies the amount of logging. |
List
|
getLoggingPhases()
Phases of the compiler to log. |
String
|
getTargetCompatibility()
Returns which backend is to be used. |
boolean
|
isDeprecation()
Generate deprecation information. |
boolean
|
isFailOnError()
Fail the build on compilation errors. |
boolean
|
isFork()
Whether to run the Scala compiler in a separate process. |
boolean
|
isListFiles()
List files to be compiled. |
boolean
|
isOptimize()
Run optimizations. |
boolean
|
isUnchecked()
Generate unchecked information. |
boolean
|
isUseAnt()
Tells whether to use Ant for compilation. |
boolean
|
isUseCompileDaemon()
Whether to use the fsc compile daemon. |
void
|
setAdditionalParameters(List additionalParameters)
|
void
|
setDaemonServer(String daemonServer)
|
void
|
setDebugLevel(String debugLevel)
|
void
|
setDeprecation(boolean deprecation)
|
void
|
setEncoding(String encoding)
|
void
|
setFailOnError(boolean failOnError)
|
void
|
setForce(String force)
|
void
|
setFork(boolean fork)
|
void
|
setForkOptions(ScalaForkOptions forkOptions)
|
void
|
setIncrementalOptions(IncrementalCompileOptions incrementalOptions)
|
void
|
setListFiles(boolean listFiles)
|
void
|
setLoggingLevel(String loggingLevel)
|
void
|
setLoggingPhases(List loggingPhases)
|
void
|
setOptimize(boolean optimize)
|
void
|
setTargetCompatibility(String targetCompatibility)
Sets which backend is to be used. |
void
|
setUnchecked(boolean unchecked)
|
void
|
setUseAnt(boolean useAnt)
|
void
|
setUseCompileDaemon(boolean useCompileDaemon)
|
Methods inherited from class AbstractOptions | |
---|---|
define, excludeFromAntProperties, getAntPropertyName, getAntPropertyValue, optionMap |
Method Detail |
---|
protected boolean excludeFromAntProperties(String fieldName)
public List getAdditionalParameters()
protected String getAntPropertyName(String fieldName)
protected Object getAntPropertyValue(String fieldName, Object value)
public String getDaemonServer()
@Input @Optional public String getDebugLevel()
@Input @Optional public String getEncoding()
public String getForce()
public ScalaForkOptions getForkOptions()
@Nested public IncrementalCompileOptions getIncrementalOptions()
public String getLoggingLevel()
public List getLoggingPhases()
@Input @Optional @Deprecated public String getTargetCompatibility()
public boolean isDeprecation()
public boolean isFailOnError()
public boolean isFork()
public boolean isListFiles()
@Input public boolean isOptimize()
public boolean isUnchecked()
public boolean isUseAnt()
public boolean isUseCompileDaemon()
public void setAdditionalParameters(List additionalParameters)
public void setDaemonServer(String daemonServer)
public void setDebugLevel(String debugLevel)
public void setDeprecation(boolean deprecation)
public void setEncoding(String encoding)
public void setFailOnError(boolean failOnError)
public void setForce(String force)
public void setFork(boolean fork)
public void setForkOptions(ScalaForkOptions forkOptions)
public void setIncrementalOptions(IncrementalCompileOptions incrementalOptions)
public void setListFiles(boolean listFiles)
public void setLoggingLevel(String loggingLevel)
public void setLoggingPhases(List loggingPhases)
public void setOptimize(boolean optimize)
@Deprecated public void setTargetCompatibility(String targetCompatibility)
public void setUnchecked(boolean unchecked)
public void setUseAnt(boolean useAnt)
public void setUseCompileDaemon(boolean useCompileDaemon)
Gradle API 1.12