Interface VersionControlSpec

    • Method Detail

      • getUniqueId

        String getUniqueId()
        Returns a String identifier which will be unique to this version control specification among other version control specifications.
      • getRepoName

        String getRepoName()
        Returns the name of the repository.
      • getRootDir

        String getRootDir()
        Returns the relative path to the root of the build within the repository.

        Defaults to an empty relative path, meaning the root of the repository.

        Returns:
        the root directory of the build, relative to the root of this repository.
        Since:
        4.5
      • setRootDir

        void setRootDir​(String rootDir)
        Sets the relative path to the root of the build within the repository. Use an empty string to refer to the root of the repository.
        Parameters:
        rootDir - The root directory of the build, relative to the root of this repository.
        Since:
        4.5
      • plugins

        void plugins​(Action<? super InjectedPluginDependencies> configuration)
        Configure injected plugins into this build.
        Parameters:
        configuration - the configuration action for adding injected plugins
        Since:
        4.6