Interface PluginManagementSpec


  • public interface PluginManagementSpec
    Configures how plugins are resolved.
    Since:
    3.5
    • Method Detail

      • repositories

        void repositories​(Action<? super RepositoryHandler> repositoriesAction)
        Defines the plugin repositories to use.
      • getRepositories

        RepositoryHandler getRepositories()
        The plugin repositories to use.
      • getPlugins

        PluginDependenciesSpec getPlugins()
        The Plugin dependencies, permitting default plugin versions to be configured.
        Since:
        5.6
      • includeBuild

        void includeBuild​(java.lang.String rootProject)
        Includes a plugin build at the specified path to the composite build. Included plugin builds can contribute settings and project plugins.
        Parameters:
        rootProject - The path to the root project directory for the build.
        Since:
        7.0
      • includeBuild

        void includeBuild​(java.lang.String rootProject,
                          Action<ConfigurableIncludedPluginBuild> configuration)
        Includes a plugin build at the specified path to the composite build, with the supplied configuration. Included plugin builds can contribute settings and project plugins.
        Parameters:
        rootProject - The path to the root project directory for the build.
        configuration - An action to configure the included build.
        Since:
        7.0