Class PolyglotVersionCatalogExtension


  • public abstract class PolyglotVersionCatalogExtension
    extends java.lang.Object
    Register dependencies manifests
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void from​(ConfigSource source, java.io.File file)
      Populate the default version catalog with the information from file.
      void from​(ConfigSource source, java.nio.file.Path file)
      Populate the default version catalog with the information from file.
      void populateCatalog​(java.lang.String versionCatalog, ConfigSource source, java.io.File file)
      Populate a version catalog builder.
      void populateCatalog​(java.lang.String versionCatalog, ConfigSource source, java.nio.file.Path file)
      Populate a version catalog builder.
      void populateCatalog​(org.gradle.api.initialization.dsl.VersionCatalogBuilder versionCatalog, ConfigSource source, java.io.File file)
      Populate a version catalog builder.
      void populateCatalog​(org.gradle.api.initialization.dsl.VersionCatalogBuilder versionCatalog, ConfigSource source, java.nio.file.Path file)
      Populate a version catalog builder.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PolyglotVersionCatalogExtension

        public PolyglotVersionCatalogExtension​(org.gradle.api.initialization.Settings settings)
    • Method Detail

      • from

        public void from​(ConfigSource source,
                         java.io.File file)
        Populate the default version catalog with the information from file.

        If file doesn't exist, this will be a no-op.

        Parameters:
        source - the source describing the config format to use
        file - the file to read
      • from

        public void from​(ConfigSource source,
                         java.nio.file.Path file)
        Populate the default version catalog with the information from file.

        If file doesn't exist, this will be a no-op.

        Parameters:
        source - the source describing the config format to use
        file - the file to read
      • populateCatalog

        public void populateCatalog​(java.lang.String versionCatalog,
                                    ConfigSource source,
                                    java.io.File file)
        Populate a version catalog builder.

        If file doesn't exist, this will be a no-op.

        Parameters:
        versionCatalog - the name of the builder to populate
        source - the config source describing this version catalog
        file - the file to load
      • populateCatalog

        public void populateCatalog​(java.lang.String versionCatalog,
                                    ConfigSource source,
                                    java.nio.file.Path file)
        Populate a version catalog builder.

        If file doesn't exist, this will be a no-op.

        Parameters:
        versionCatalog - the name of the builder to populate
        source - the config source describing this version catalog
        file - the file to load
      • populateCatalog

        public void populateCatalog​(org.gradle.api.initialization.dsl.VersionCatalogBuilder versionCatalog,
                                    ConfigSource source,
                                    java.io.File file)
        Populate a version catalog builder.

        If file doesn't exist, this will be a no-op.

        Parameters:
        versionCatalog - the builder to populate
        source - the config source describing this version catalog
        file - the file to load
      • populateCatalog

        public void populateCatalog​(org.gradle.api.initialization.dsl.VersionCatalogBuilder versionCatalog,
                                    ConfigSource source,
                                    java.nio.file.Path file)
        Populate a version catalog builder.

        If file doesn't exist, this will be a no-op.

        Parameters:
        versionCatalog - the builder to populate
        source - the config source describing this version catalog
        file - the file to load