BaseScalaCompileOptions (Gradle API 4.10.2)
Date: 2018-09-19

org.gradle.language.scala.tasks

## Class BaseScalaCompileOptions

- java.lang.Object
- - org.gradle.api.tasks.compile.AbstractOptions
  - - org.gradle.language.scala.tasks.BaseScalaCompileOptions

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    ScalaCompileOptions

      @Incubating
      public class BaseScalaCompileOptions
      extends AbstractOptions

  Options for Scala platform compilation.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BaseScalaCompileOptions()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<String>` | `getAdditionalParameters()` Additional parameters passed to the compiler.
    `String` | `getDebugLevel()` Generate debugging information.
    `String` | `getEncoding()` Encoding of source files.
    `ScalaForkOptions` | `getForkOptions()` Options for running the Scala compiler in a separate process.
    `IncrementalCompileOptions` | `getIncrementalOptions()`
    `String` | `getLoggingLevel()` Specifies the amount of logging.
    `List<String>` | `getLoggingPhases()` Phases of the compiler to log.
    `boolean` | `isDeprecation()` Generate deprecation information.
    `boolean` | `isFailOnError()` Fail the build on compilation errors.
    `boolean` | `isForce()` Whether to force the compilation of all files.
    `boolean` | `isListFiles()` List files to be compiled.
    `boolean` | `isOptimize()` Run optimizations.
    `boolean` | `isUnchecked()` Generate unchecked information.
    `void` | `setAdditionalParameters(List<String> additionalParameters)`
    `void` | `setDebugLevel(String debugLevel)`
    `void` | `setDeprecation(boolean deprecation)`
    `void` | `setEncoding(String encoding)`
    `void` | `setFailOnError(boolean failOnError)`
    `void` | `setForce(boolean force)`
    `void` | `setForkOptions(ScalaForkOptions forkOptions)`
    `void` | `setIncrementalOptions(IncrementalCompileOptions incrementalOptions)`
    `void` | `setListFiles(boolean listFiles)`
    `void` | `setLoggingLevel(String loggingLevel)`
    `void` | `setLoggingPhases(List<String> loggingPhases)`
    `void` | `setOptimize(boolean optimize)`
    `void` | `setUnchecked(boolean unchecked)`

    - ### Methods inherited from class org.gradle.api.tasks.compile.AbstractOptions

      `define, excludeFromAntProperties, getAntPropertyName, getAntPropertyValue, optionMap`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BaseScalaCompileOptions

          public BaseScalaCompileOptions()

  - ### Method Detail

    - #### isFailOnError

          @Input
          public boolean isFailOnError()

      Fail the build on compilation errors.

    - #### setFailOnError

          public void setFailOnError(boolean failOnError)

    - #### isDeprecation

          @Console
          public boolean isDeprecation()

      Generate deprecation information.

    - #### setDeprecation

          public void setDeprecation(boolean deprecation)

    - #### isUnchecked

          @Console
          public boolean isUnchecked()

      Generate unchecked information.

    - #### setUnchecked

          public void setUnchecked(boolean unchecked)

    - #### getDebugLevel

          @Nullable
           @Optional
           @Input
          public String getDebugLevel()

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

    - #### setDebugLevel

          public void setDebugLevel(@Nullable
                                    String debugLevel)

    - #### isOptimize

          @Input
          public boolean isOptimize()

      Run optimizations.

    - #### setOptimize

          public void setOptimize(boolean optimize)

    - #### getEncoding

          @Nullable
           @Optional
           @Input
          public String getEncoding()

      Encoding of source files.

    - #### setEncoding

          public void setEncoding(@Nullable
                                  String encoding)

    - #### isForce

          @Input
          public boolean isForce()

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

    - #### setForce

          public void setForce(boolean force)

    - #### getAdditionalParameters

          @Nullable
           @Optional
           @Input
          public List<String> getAdditionalParameters()

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

    - #### setAdditionalParameters

          public void setAdditionalParameters(@Nullable
                                              List<String> additionalParameters)

    - #### isListFiles

          @Console
          public boolean isListFiles()

      List files to be compiled.

    - #### setListFiles

          public void setListFiles(boolean listFiles)

    - #### getLoggingLevel

          @Console
          public String getLoggingLevel()

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

    - #### setLoggingLevel

          public void setLoggingLevel(String loggingLevel)

    - #### getLoggingPhases

          @Console
          public List<String> getLoggingPhases()

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

    - #### setLoggingPhases

          public void setLoggingPhases(List<String> loggingPhases)

    - #### getForkOptions

          public ScalaForkOptions getForkOptions()

      Options for running the Scala compiler in a separate process.

    - #### setForkOptions

          public void setForkOptions(ScalaForkOptions forkOptions)

    - #### getIncrementalOptions

          public IncrementalCompileOptions getIncrementalOptions()

    - #### setIncrementalOptions

          public void setIncrementalOptions(IncrementalCompileOptions incrementalOptions)