API Documentation: | ScalaCompileOptions |
---|
Options for Scala compilation.
Property | Description |
additionalParameters | Additional parameters passed to the compiler. Each parameter must start with '-'. |
daemonServer | Server (host:port) on which the compile daemon is running. The host must share disk access with the client process. If not specified, launches the daemon on the localhost. This parameter can only be specified if useCompileDaemon is true. |
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: - never (only compile modified files) - changed (compile all files when at least one file is modified) - always (always recompile all files) |
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. |
useCompileDaemon | Whether to use the fsc compile daemon. |
Additional parameters passed to the compiler. Each parameter must start with '-'.
- Default:
null
String
daemonServer
Server (host:port) on which the compile daemon is running. The host must share disk access with the client process. If not specified, launches the daemon on the localhost. This parameter can only be specified if useCompileDaemon is true.
- Default:
null
String
debugLevel
Generate debugging information. Legal values: none, source, line, vars, notailcalls
- Default:
null
String
force
Whether to force the compilation of all files. Legal values: - never (only compile modified files) - changed (compile all files when at least one file is modified) - always (always recompile all files)
- Default:
never
Phases of the compiler to log. Legal values: namer, typer, pickler, uncurry, tailcalls, transmatch, explicitouter, erasure, lambdalift, flatten, constructors, mixin, icode, jvm, terminal.
- Default:
null