Package org.gradle.language.scala.tasks
Class BaseScalaCompileOptions
java.lang.Object
org.gradle.language.scala.tasks.BaseScalaCompileOptions
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ScalaCompileOptions
Options for Scala platform compilation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidforkOptions(Action<? super ScalaForkOptions> action) Configure options for running the Scala compiler in a separate process.abstract ListProperty<String> Additional parameters passed to the compiler.Generate debugging information.Generate deprecation information.Encoding of source files.Fail the build on compilation errors.getForce()Whether to force the compilation of all files.Options for running the Scala compiler in a separate process.Options for incremental compilation of Scala code.abstract Property<KeepAliveMode> Keeps Scala compiler daemon alive across builds for faster build timesList files to be compiled.Specifies the amount of logging.abstract ListProperty<String> Phases of the compiler to log.protected abstract ObjectFactoryRun optimizations.Generate unchecked information.voidincrementalOptions(Action<? super IncrementalCompileOptions> action) Configure options for incremental compilation of Scala code.
-
Constructor Details
-
BaseScalaCompileOptions
@Inject public BaseScalaCompileOptions()
-
-
Method Details
-
getObjectFactory
-
getFailOnError
Fail the build on compilation errors. -
getIsFailOnError
-
getDeprecation
Generate deprecation information. -
getIsDeprecation
-
getUnchecked
Generate unchecked information. -
getIsUnchecked
-
getDebugLevel
Generate debugging information. Legal values: none, source, line, vars, notailcalls -
getOptimize
Run optimizations. -
getIsOptimize
-
getEncoding
Encoding of source files. -
getForce
Whether to force the compilation of all files. Legal values: - false (only compile modified files) - true (always recompile all files) -
getIsForce
-
getAdditionalParameters
Additional parameters passed to the compiler. Each parameter must start with '-'.- Returns:
- The list of additional parameters.
-
getListFiles
List files to be compiled. -
getIsListFiles
-
getLoggingLevel
Specifies the amount of logging. Legal values: none, verbose, debug -
getLoggingPhases
Phases of the compiler to log. Legal values: namer, typer, pickler, uncurry, tailcalls, transmatch, explicitouter, erasure, lambdalift, flatten, constructors, mixin, icode, jvm, terminal. -
getForkOptions
Options for running the Scala compiler in a separate process. -
forkOptions
Configure options for running the Scala compiler in a separate process.- Since:
- 8.11
-
getIncrementalOptions
Options for incremental compilation of Scala code. -
incrementalOptions
Configure options for incremental compilation of Scala code.- Since:
- 8.11
-
getKeepAliveMode
Keeps Scala compiler daemon alive across builds for faster build times- Since:
- 7.6
-