Class AbstractCnRepositoryPlugin
java.lang.Object
io.github.martixjohn.cnrepository.plugins.AbstractCnRepositoryPlugin
- Direct Known Subclasses:
CnRepositoryProjectPlugin,CnRepositorySettingsPlugin
public abstract sealed class AbstractCnRepositoryPlugin
extends Object
permits CnRepositoryProjectPlugin, CnRepositorySettingsPlugin
Abstract class for plugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidaddToRepositories(CnRepository cnRepository, org.gradle.api.artifacts.dsl.RepositoryHandler dependencyRepositories) Add the repository to RepositoryHandlerprotected final voidconventionUrl(org.gradle.api.provider.Property<CnRepository> property) Set convention for repository
-
Constructor Details
-
AbstractCnRepositoryPlugin
protected AbstractCnRepositoryPlugin()For subclass to use
-
-
Method Details
-
conventionUrl
Set convention for repository- Parameters:
property- CnRepository
-
addToRepositories
protected final void addToRepositories(CnRepository cnRepository, org.gradle.api.artifacts.dsl.RepositoryHandler dependencyRepositories) Add the repository to RepositoryHandler- Parameters:
cnRepository- CnRepositorydependencyRepositories- RepositoryHandler
-