# Class ComponentModelBasePlugin

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

All Implemented Interfaces:
  `Plugin<Project>`

@Incubating public abstract class ComponentModelBasePlugin extends Object implements Plugin<Project>
Base plugin for component support. Adds a `ComponentSpecContainer` named `components` to the model. For each binary instance added to the binaries container, registers a lifecycle task to create that binary.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `(package private) static class`
  `ComponentModelBasePlugin.PluginRules`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ComponentModelBasePlugin()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `apply(Project project)`
  Apply this plugin to the given target object.

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### ComponentModelBasePlugin

    public ComponentModelBasePlugin()

- ## 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