Class PolyglotVersionCatalogExtension
java.lang.Object
ca.stellardrift.build.configurate.catalog.PolyglotVersionCatalogExtension
Register dependencies manifests
-
Constructor Summary
ConstructorsConstructorDescriptionPolyglotVersionCatalogExtension(org.gradle.api.initialization.Settings settings) -
Method Summary
Modifier and TypeMethodDescriptionvoidfrom(ConfigSource source, File file) Populate the default version catalog with the information fromfile.voidfrom(ConfigSource source, Path file) Populate the default version catalog with the information fromfile.voidpopulateCatalog(String versionCatalog, ConfigSource source, File file) Populate a version catalog builder.voidpopulateCatalog(String versionCatalog, ConfigSource source, Path file) Populate a version catalog builder.voidpopulateCatalog(org.gradle.api.initialization.dsl.VersionCatalogBuilder versionCatalog, ConfigSource source, File file) Populate a version catalog builder.voidpopulateCatalog(org.gradle.api.initialization.dsl.VersionCatalogBuilder versionCatalog, ConfigSource source, Path file) Populate a version catalog builder.
-
Constructor Details
-
PolyglotVersionCatalogExtension
public PolyglotVersionCatalogExtension(org.gradle.api.initialization.Settings settings)
-
-
Method Details
-
from
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
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
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
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, 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, 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
-