Search in sources :

Example 1 with TomlFileGenerator

use of org.gradle.api.plugins.catalog.internal.TomlFileGenerator in project gradle by gradle.

the class VersionCatalogPlugin method apply.

@Override
public void apply(Project project) {
    Configuration dependenciesConfiguration = createDependenciesConfiguration(project);
    CatalogExtensionInternal extension = createExtension(project, dependenciesConfiguration);
    TaskProvider<TomlFileGenerator> generator = createGenerator(project, extension);
    createPublication(project, generator);
}
Also used : CatalogExtensionInternal(org.gradle.api.plugins.catalog.internal.CatalogExtensionInternal) Configuration(org.gradle.api.artifacts.Configuration) TomlFileGenerator(org.gradle.api.plugins.catalog.internal.TomlFileGenerator)

Aggregations

Configuration (org.gradle.api.artifacts.Configuration)1 CatalogExtensionInternal (org.gradle.api.plugins.catalog.internal.CatalogExtensionInternal)1 TomlFileGenerator (org.gradle.api.plugins.catalog.internal.TomlFileGenerator)1