Class ComponentModelBasePlugin

java.lang.Object
org.gradle.language.base.plugins.ComponentModelBasePlugin
All Implemented Interfaces:
Plugin<Project>

@Incubating public 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.
  • 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