Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD

## org.gradle.api.tasks.scala
[Groovy] Class ScalaCompileOptions

    java.lang.Object
      org.gradle.api.tasks.compile.AbstractOptions
          org.gradle.api.tasks.scala.ScalaCompileOptions

    class ScalaCompileOptions
    extends AbstractOptions

Property Summary
`List` | `additionalParameters` Additional parameters passed to the compiler.
`String` | `daemonServer` Server (host:port) on which the compile daemon is running.
`String` | `debugLevel` Generate debugging information.
`boolean` | `deprecation` Generate deprecation information.
`String` | `encoding` Encoding of source files.
`boolean` | `failOnError` Fail the build on compilation errors.
`String` | `force` Whether to force the compilation of all files.
`boolean` | `listFiles` List files to be compiled.
`String` | `loggingLevel` Specifies the amount of logging.
`List` | `loggingPhases` Phases of the compiler to log.
`boolean` | `optimize` Run optimisations.
`String` | `targetCompatibility` Specifies which backend to use.
`boolean` | `unchecked` Generate unchecked information.
`boolean` | `useCompileDaemon` Whether to use the fsc compile daemon.

Method Summary
`List` | `excludedFieldsFromOptionMap()`
`Map` | `fieldName2AntMap()`
`Map` | `fieldValue2AntMap()`

Methods inherited from class AbstractOptions
define, excludedFieldsFromOptionMap, fieldName2AntMap, fieldValue2AntMap, optionMap

Property Detail

### additionalParameters

    List additionalParameters

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

### daemonServer

    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.

### debugLevel

    @Input
    @Optional
    String debugLevel

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

### deprecation

    boolean deprecation

  Generate deprecation information.

### encoding

    @Input
    @Optional
    String encoding

  Encoding of source files.

### failOnError

    boolean failOnError

  Fail the build on compilation errors.

### force

    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)

### listFiles

    boolean listFiles

  List files to be compiled.

### loggingLevel

    String loggingLevel

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

### loggingPhases

    List 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

    @Input
    boolean optimize

  Run optimisations.

### targetCompatibility

    @Input
    String targetCompatibility

  Specifies which backend to use. Legal values: 1.4, 1.5

### unchecked

    boolean unchecked

  Generate unchecked information.

### useCompileDaemon

    boolean useCompileDaemon

  Whether to use the fsc compile daemon.

Method Detail

### excludedFieldsFromOptionMap

    List excludedFieldsFromOptionMap()

### fieldName2AntMap

    Map fieldName2AntMap()

### fieldValue2AntMap

    Map fieldValue2AntMap()

Gradle API 1.1-rc-1