Class VersionCatalogPlugin

  • All Implemented Interfaces:
    Plugin<Project>

    public abstract 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 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

    • 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