Package org.gradle.language.scala.tasks
Klasse BaseScalaCompileOptions
java.lang.Object
org.gradle.api.tasks.compile.AbstractOptions
org.gradle.language.scala.tasks.BaseScalaCompileOptions
- Alle implementierten Schnittstellen:
Serializable
- Bekannte direkte Unterklassen:
ScalaCompileOptions
Options for Scala platform compilation.
- Siehe auch:
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidforkOptions(Action<? super ScalaForkOptions> action) Configure options for running the Scala compiler in a separate process.Additional parameters passed to the compiler.Generate debugging information.Encoding of source files.Options for running the Scala compiler in a separate process.Options for incremental compilation of Scala code.Keeps Scala compiler daemon alive across builds for faster build timesSpecifies the amount of logging.Phases of the compiler to log.protected ObjectFactoryvoidincrementalOptions(Action<? super IncrementalCompileOptions> action) Configure options for incremental compilation of Scala code.booleanGenerate deprecation information.booleanFail the build on compilation errors.booleanisForce()Whether to force the compilation of all files.booleanList files to be compiled.booleanRun optimizations.booleanGenerate unchecked information.voidsetAdditionalParameters(List<String> additionalParameters) Sets the additional parameters.voidsetDebugLevel(String debugLevel) voidsetDeprecation(boolean deprecation) voidsetEncoding(String encoding) voidsetFailOnError(boolean failOnError) voidsetForce(boolean force) voidsetForkOptions(ScalaForkOptions forkOptions) Veraltet.Setting a new instance of this property is unnecessary.voidsetIncrementalOptions(IncrementalCompileOptions incrementalOptions) Veraltet.Setting a new instance of this property is unnecessary.voidsetListFiles(boolean listFiles) voidsetLoggingLevel(String loggingLevel) voidsetLoggingPhases(List<String> loggingPhases) voidsetOptimize(boolean optimize) voidsetUnchecked(boolean unchecked) Von Klasse geerbte Methoden org.gradle.api.tasks.compile.AbstractOptions
define
-
Konstruktordetails
-
BaseScalaCompileOptions
public BaseScalaCompileOptions()
-
-
Methodendetails
-
getObjectFactory
-
isFailOnError
Fail the build on compilation errors. -
setFailOnError
public void setFailOnError(boolean failOnError) -
isDeprecation
Generate deprecation information. -
setDeprecation
public void setDeprecation(boolean deprecation) -
isUnchecked
Generate unchecked information. -
setUnchecked
public void setUnchecked(boolean unchecked) -
getDebugLevel
Generate debugging information. Legal values: none, source, line, vars, notailcalls -
setDebugLevel
-
isOptimize
Run optimizations. -
setOptimize
public void setOptimize(boolean optimize) -
getEncoding
Encoding of source files. -
setEncoding
-
isForce
Whether to force the compilation of all files. Legal values: - false (only compile modified files) - true (always recompile all files) -
setForce
public void setForce(boolean force) -
getAdditionalParameters
Additional parameters passed to the compiler. Each parameter must start with '-'.- Gibt zurück:
- The list of additional parameters.
-
setAdditionalParameters
Sets the additional parameters.Setting this property will clear any previously set additional parameters.
-
isListFiles
List files to be compiled. -
setListFiles
public void setListFiles(boolean listFiles) -
getLoggingLevel
Specifies the amount of logging. Legal values: none, verbose, debug -
setLoggingLevel
-
getLoggingPhases
Phases of the compiler to log. Legal values: namer, typer, pickler, uncurry, tailcalls, transmatch, explicitouter, erasure, lambdalift, flatten, constructors, mixin, icode, jvm, terminal. -
setLoggingPhases
-
getForkOptions
Options for running the Scala compiler in a separate process. -
setForkOptions
Veraltet.Setting a new instance of this property is unnecessary. This method will be removed in Gradle 9.0. UseforkOptions(Action)instead.Options for running the Scala compiler in a separate process. -
forkOptions
Configure options for running the Scala compiler in a separate process.- Seit:
- 8.11
-
getIncrementalOptions
Options for incremental compilation of Scala code. -
setIncrementalOptions
Veraltet.Setting a new instance of this property is unnecessary. This method will be removed in Gradle 9.0. UseincrementalOptions(Action)instead.Options for incremental compilation of Scala code. -
incrementalOptions
Configure options for incremental compilation of Scala code.- Seit:
- 8.11
-
getKeepAliveMode
Keeps Scala compiler daemon alive across builds for faster build times- Seit:
- 7.6
-