Package org.gradle.api.plugins.catalog

## Class VersionCatalogPlugin

- java.lang.Object
- - org.gradle.api.plugins.catalog.VersionCatalogPlugin

- All Implemented Interfaces:
    `Plugin<Project>`

      public class VersionCatalogPlugin
      extends java.lang.Object
      implements Plugin<Project>

  A `Plugin` makes it possible to generate a version catalog, which is a set of versions and coordinates for dependencies and plugins to import in the settings of a Gradle build.

  Since:
    7.0

- - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `static java.lang.String` | `GENERATE_CATALOG_FILE_TASKNAME` |
    `static java.lang.String` | `GRADLE_PLATFORM_DEPENDENCIES` |
    `static java.lang.String` | `VERSION_CATALOG_ELEMENTS` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `VersionCatalogPlugin​(SoftwareComponentFactory softwareComponentFactory)` |

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

    - #### GENERATE_CATALOG_FILE_TASKNAME

          public static final java.lang.String GENERATE_CATALOG_FILE_TASKNAME

      See Also:
        Constant Field Values

    - #### GRADLE_PLATFORM_DEPENDENCIES

          public static final java.lang.String GRADLE_PLATFORM_DEPENDENCIES

      See Also:
        Constant Field Values

    - #### VERSION_CATALOG_ELEMENTS

          public static final java.lang.String VERSION_CATALOG_ELEMENTS

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### VersionCatalogPlugin

          @Inject
          public VersionCatalogPlugin​(SoftwareComponentFactory softwareComponentFactory)

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