# 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

#### ``ListProperty`<`String`>` `additionalParameters`

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

Default with `scala` plugin:
  `[]`

#### ``Property`<`String`>` `debugLevel`

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

Default with `scala` plugin:
  `null`

#### ``Property`<`Boolean`>` `deprecation`

Generate deprecation information.

Default with `scala` plugin:
  `true`

#### ``Property`<`String`>` `encoding`

Encoding of source files.

Default with `scala` plugin:
  `null`

#### ``Property`<`Boolean`>` `failOnError`

Fail the build on compilation errors.

Default with `scala` plugin:
  `true`

#### ``Property`<`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` (read-only)

Options for running the Scala compiler in a separate process.

#### `IncrementalCompileOptions` `incrementalOptions` (read-only)

Options for incremental compilation of Scala code.

#### ``Property`<`Boolean`>` `listFiles`

List files to be compiled.

Default with `scala` plugin:
  `false`

#### ``Property`<`String`>` `loggingLevel`

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

Default with `scala` plugin:
  `null`

#### ``ListProperty`<`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:
  `[]`

#### ``Property`<`Boolean`>` `optimize`

Run optimizations.

Default with `scala` plugin:
  `false`

#### ``Property`<`Boolean`>` `unchecked`

Generate unchecked information.

Default with `scala` plugin:
  `true`