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 Details

    • AbstractCnRepositoryPlugin

      protected AbstractCnRepositoryPlugin()
      For subclass to use
  • Method Details

    • conventionUrl

      protected final void conventionUrl(org.gradle.api.provider.Property<CnRepository> property)
      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 - CnRepository
      dependencyRepositories - RepositoryHandler