Class ScalaBasePlugin

java.lang.Object
org.gradle.api.plugins.scala.ScalaBasePlugin
All Implemented Interfaces:
Plugin<Project>

public abstract class ScalaBasePlugin extends Object implements Plugin<Project>

A Plugin which compiles and tests Scala sources.

See Also:
  • Field Details

    • DEFAULT_ZINC_VERSION

      public static final String DEFAULT_ZINC_VERSION
      Default Scala Zinc compiler version
      Since:
      6.0
      See Also:
    • ZINC_CONFIGURATION_NAME

      public static final String ZINC_CONFIGURATION_NAME
      See Also:
    • SCALA_RUNTIME_EXTENSION_NAME

      public static final String SCALA_RUNTIME_EXTENSION_NAME
      See Also:
    • SCALA_COMPILER_PLUGINS_CONFIGURATION_NAME

      public static final String SCALA_COMPILER_PLUGINS_CONFIGURATION_NAME
      Configuration for scala compiler plugins.
      Since:
      6.4
      See Also:
  • Constructor Details

    • ScalaBasePlugin

      @Inject public ScalaBasePlugin(ObjectFactory objectFactory, org.gradle.api.plugins.jvm.internal.JvmPluginServices jvmPluginServices)
  • Method Details

    • 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