BaseScalaCompileOptions - Gradle DSL Version 7.6.3

# BaseScalaCompileOptions

API Documentation: | `BaseScalaCompileOptions`

Options for Scala platform compilation.

### Properties

Property | Description
`additionalParameters` | Additional parameters passed to the compiler. Each parameter must start with '-'.
`debugLevel` | Generate debugging information. Legal values: none, source, line, vars, notailcalls
`deprecation` | Generate deprecation information.
`encoding` | Encoding of source files.
`failOnError` | Fail the build on compilation errors.
`force` | Whether to force the compilation of all files. Legal values: - false (only compile modified files) - true (always recompile all files)
`forkOptions` | Options for running the Scala compiler in a separate process.
`incrementalOptions` | Options for incremental compilation of Scala code.
`listFiles` | List files to be compiled.
`loggingLevel` | Specifies the amount of logging. Legal values: none, verbose, debug
`loggingPhases` | Phases of the compiler to log. Legal values: namer, typer, pickler, uncurry, tailcalls, transmatch, explicitouter, erasure, lambdalift, flatten, constructors, mixin, icode, jvm, terminal.
`optimize` | Run optimizations.
`unchecked` | Generate unchecked information.

### Methods

No methods

### Script blocks

No script blocks

### Property details

#### ``List`<`String`>` `additionalParameters`

Additional parameters passed to the compiler. Each parameter must start with '-'.

Default with `scala` plugin:
  `[]`

#### `String` `debugLevel`

Generate debugging information. Legal values: none, source, line, vars, notailcalls

Default with `scala` plugin:
  `null`

#### `boolean` `deprecation`

Generate deprecation information.

Default with `scala` plugin:
  `true`

#### `String` `encoding`

Encoding of source files.

Default with `scala` plugin:
  `null`

#### `boolean` `failOnError`

Fail the build on compilation errors.

Default with `scala` plugin:
  `true`

#### `boolean` `force`

Whether to force the compilation of all files. Legal values: - false (only compile modified files) - true (always recompile all files)

Default with `scala` plugin:
  `false`

#### `ScalaForkOptions` `forkOptions`

Options for running the Scala compiler in a separate process.

#### `IncrementalCompileOptions` `incrementalOptions`

Options for incremental compilation of Scala code.

#### `boolean` `listFiles`

List files to be compiled.

Default with `scala` plugin:
  `false`

#### `String` `loggingLevel`

Specifies the amount of logging. Legal values: none, verbose, debug

Default with `scala` plugin:
  `null`

#### ``List`<`String`>` `loggingPhases`

Phases of the compiler to log. Legal values: namer, typer, pickler, uncurry, tailcalls, transmatch, explicitouter, erasure, lambdalift, flatten, constructors, mixin, icode, jvm, terminal.

Default with `scala` plugin:
  `[]`

#### `boolean` `optimize`

Run optimizations.

Default with `scala` plugin:
  `false`

#### `boolean` `unchecked`

Generate unchecked information.

Default with `scala` plugin:
  `true`