Class PolyglotVersionCatalogExtension
- java.lang.Object
-
- ca.stellardrift.build.configurate.catalog.PolyglotVersionCatalogExtension
-
public abstract class PolyglotVersionCatalogExtension extends java.lang.ObjectRegister dependencies manifests
-
-
Constructor Summary
Constructors Constructor Description PolyglotVersionCatalogExtension(org.gradle.api.initialization.Settings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfrom(ConfigSource source, java.io.File file)Populate the default version catalog with the information fromfile.voidfrom(ConfigSource source, java.nio.file.Path file)Populate the default version catalog with the information fromfile.voidpopulateCatalog(java.lang.String versionCatalog, ConfigSource source, java.io.File file)Populate a version catalog builder.voidpopulateCatalog(java.lang.String versionCatalog, ConfigSource source, java.nio.file.Path file)Populate a version catalog builder.voidpopulateCatalog(org.gradle.api.initialization.dsl.VersionCatalogBuilder versionCatalog, ConfigSource source, java.io.File file)Populate a version catalog builder.voidpopulateCatalog(org.gradle.api.initialization.dsl.VersionCatalogBuilder versionCatalog, ConfigSource source, java.nio.file.Path file)Populate a version catalog builder.
-
-
-
Method Detail
-
from
public void from(ConfigSource source, java.io.File file)
Populate the default version catalog with the information fromfile.If
filedoesn't exist, this will be a no-op.- Parameters:
source- the source describing the config format to usefile- the file to read
-
from
public void from(ConfigSource source, java.nio.file.Path file)
Populate the default version catalog with the information fromfile.If
filedoesn't exist, this will be a no-op.- Parameters:
source- the source describing the config format to usefile- the file to read
-
populateCatalog
public void populateCatalog(java.lang.String versionCatalog, ConfigSource source, java.io.File file)Populate a version catalog builder.If
filedoesn't exist, this will be a no-op.- Parameters:
versionCatalog- the name of the builder to populatesource- the config source describing this version catalogfile- 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
filedoesn't exist, this will be a no-op.- Parameters:
versionCatalog- the name of the builder to populatesource- the config source describing this version catalogfile- 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
filedoesn't exist, this will be a no-op.- Parameters:
versionCatalog- the builder to populatesource- the config source describing this version catalogfile- 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
filedoesn't exist, this will be a no-op.- Parameters:
versionCatalog- the builder to populatesource- the config source describing this version catalogfile- the file to load
-
-