org.gradle.language.base.plugins

## Class ComponentModelBasePlugin

- java.lang.Object
- - org.gradle.language.base.plugins.ComponentModelBasePlugin

- All Implemented Interfaces:
    Plugin<org.gradle.api.internal.project.ProjectInternal>

      @Incubating
      public class ComponentModelBasePlugin
      extends Object
      implements Plugin<org.gradle.api.internal.project.ProjectInternal>

  Base plugin for language support. Adds a `ComponentSpecContainer` named `componentSpecs` to the project. Adds a `ProjectSourceSet` named `sources` to the project. For each binary instance added to the binaries container, registers a lifecycle task to create that binary.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ComponentModelBasePlugin(org.gradle.internal.reflect.Instantiator instantiator, org.gradle.model.internal.registry.ModelRegistry modelRegistry)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `apply(org.gradle.api.internal.project.ProjectInternal 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`

- - ### Constructor Detail

    - #### ComponentModelBasePlugin

          @Inject
          public ComponentModelBasePlugin(org.gradle.internal.reflect.Instantiator instantiator,
                                         org.gradle.model.internal.registry.ModelRegistry modelRegistry)

  - ### Method Detail

    - #### apply

          public void apply(org.gradle.api.internal.project.ProjectInternal project)

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