Package org.gradle.api.plugins.scala

## Class ScalaBasePlugin

- java.lang.Object
- - org.gradle.api.plugins.scala.ScalaBasePlugin

- All Implemented Interfaces:
    `Plugin<Project>`

      public class ScalaBasePlugin
      extends Object
      implements Plugin<Project>

  A `Plugin` which compiles and tests Scala sources.

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static String` | `DEFAULT_ZINC_VERSION` | Default Scala Zinc compiler version
    `static String` | `SCALA_COMPILER_PLUGINS_CONFIGURATION_NAME` | Configuration for scala compiler plugins.
    `static String` | `SCALA_RUNTIME_EXTENSION_NAME` |
    `static String` | `ZINC_CONFIGURATION_NAME` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ScalaBasePlugin​(ObjectFactory objectFactory, org.gradle.api.plugins.jvm.internal.JvmEcosystemUtilities jvmEcosystemUtilities)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `apply​(Project project)` | Apply this plugin to the given target object.

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

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

- - ### Field Detail

    - #### DEFAULT_ZINC_VERSION

          public static final String DEFAULT_ZINC_VERSION

      Default Scala Zinc compiler version
      Since:
        6.0
      See Also:
        Constant Field Values

    - #### ZINC_CONFIGURATION_NAME

          public static final String ZINC_CONFIGURATION_NAME

      See Also:
        Constant Field Values

    - #### SCALA_RUNTIME_EXTENSION_NAME

          public static final String SCALA_RUNTIME_EXTENSION_NAME

      See Also:
        Constant Field Values

    - #### SCALA_COMPILER_PLUGINS_CONFIGURATION_NAME

          @Incubating
          public static final String SCALA_COMPILER_PLUGINS_CONFIGURATION_NAME

      Configuration for scala compiler plugins.
      Since:
        6.4
      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### ScalaBasePlugin

          @Inject
          public ScalaBasePlugin​(ObjectFactory objectFactory,
                                 org.gradle.api.plugins.jvm.internal.JvmEcosystemUtilities jvmEcosystemUtilities)

  - ### Method Detail

    - #### apply

          public void apply​(Project project)

      Description copied from interface: `Plugin`
      Apply this plugin to the given target object.
      Specified by:
        `apply` in interface `Plugin<Project>`
      Parameters:
        `project` - The target object