# ScalaCompileOptions

abstract class ScalaCompileOptions : BaseScalaCompileOptions(source)

Options for Scala Compilation.

## Constructors

ScalaCompileOptions
Link copied to clipboard
constructor()

## Properties

forkOptions
Link copied to clipboard
val forkOptions: ScalaForkOptions
incrementalOptions
Link copied to clipboard
val incrementalOptions: IncrementalCompileOptions

## Functions

forkOptions
Link copied to clipboard
open fun forkOptions(action: Action<in ScalaForkOptions>)
Configure options for running the Scala compiler in a separate process.
getAdditionalParameters
Link copied to clipboard
@Optional
@Input
abstract fun getAdditionalParameters(): ListProperty<String>
Additional parameters passed to the compiler.
getDebugLevel
Link copied to clipboard
@Optional
@Input
abstract fun getDebugLevel(): Property<String>
Generate debugging information.
getDeprecation
Link copied to clipboard
@Console
abstract fun getDeprecation(): Property<Boolean>
Generate deprecation information.
getEncoding
Link copied to clipboard
@Optional
@Input
abstract fun getEncoding(): Property<String>
Encoding of source files.
getFailOnError
Link copied to clipboard
@Input
abstract fun getFailOnError(): Property<Boolean>
Fail the build on compilation errors.
getForce
Link copied to clipboard
@Input
abstract fun getForce(): Property<Boolean>
Whether to force the compilation of all files.
getIsDeprecation
Link copied to clipboard
@Internal
open fun getIsDeprecation(): Property<Boolean>
getIsFailOnError
Link copied to clipboard
@Internal
open fun getIsFailOnError(): Property<Boolean>
getIsForce
Link copied to clipboard
@Internal
open fun getIsForce(): Property<Boolean>
getIsListFiles
Link copied to clipboard
@Internal
open fun getIsListFiles(): Property<Boolean>
getIsOptimize
Link copied to clipboard
@Internal
open fun getIsOptimize(): Property<Boolean>
getIsUnchecked
Link copied to clipboard
@Internal
open fun getIsUnchecked(): Property<Boolean>
getKeepAliveMode
Link copied to clipboard
@Incubating
@Input
abstract fun getKeepAliveMode(): Property<KeepAliveMode>
Keeps Scala compiler daemon alive across builds for faster build times
getListFiles
Link copied to clipboard
@Console
abstract fun getListFiles(): Property<Boolean>
List files to be compiled.
getLoggingLevel
Link copied to clipboard
@Console
abstract fun getLoggingLevel(): Property<String>
Specifies the amount of logging.
getLoggingPhases
Link copied to clipboard
@Console
abstract fun getLoggingPhases(): ListProperty<String>
Phases of the compiler to log.
getOptimize
Link copied to clipboard
@Input
abstract fun getOptimize(): Property<Boolean>
Run optimizations.
getUnchecked
Link copied to clipboard
@Console
abstract fun getUnchecked(): Property<Boolean>
Generate unchecked information.
incrementalOptions
Link copied to clipboard
open fun incrementalOptions(action: Action<in IncrementalCompileOptions>)
Configure options for incremental compilation of Scala code.
setAdditionalParameters
Link copied to clipboard
open fun setAdditionalParameters(additionalParameters: List<String>)
Sets the additional parameters.
setDebugLevel
Link copied to clipboard
open fun setDebugLevel(@Nullable debugLevel: @Nullable String)
setDeprecation
Link copied to clipboard
open fun setDeprecation(deprecation: Boolean)
setEncoding
Link copied to clipboard
open fun setEncoding(@Nullable encoding: @Nullable String)
setFailOnError
Link copied to clipboard
open fun setFailOnError(failOnError: Boolean)
setForce
Link copied to clipboard
open fun setForce(force: Boolean)
setListFiles
Link copied to clipboard
open fun setListFiles(listFiles: Boolean)
setLoggingLevel
Link copied to clipboard
open fun setLoggingLevel(loggingLevel: String)
setLoggingPhases
Link copied to clipboard
open fun setLoggingPhases(loggingPhases: List<String>)
setOptimize
Link copied to clipboard
open fun setOptimize(optimize: Boolean)
setUnchecked
Link copied to clipboard
open fun setUnchecked(unchecked: Boolean)