Interface SourceControl

    • Method Detail

      • vcsMappings

        void vcsMappings​(Action<? super VcsMappings> configuration)
        Configures VCS mappings.
      • getVcsMappings

        VcsMappings getVcsMappings()
        Returns the VCS mappings configuration.
      • gitRepository

        VersionControlRepository gitRepository​(URI url)
        Registers a Git repository that contains some components that should be used as source dependencies.

        A Git repository can safely be registered multiple times.

        Parameters:
        url - The URL of the Git repository.
        Returns:
        An object that can be used to configure the details of the repository.
        Since:
        4.10
      • gitRepository

        void gitRepository​(URI url,
                           Action<? super VersionControlRepository> configureAction)
        Registers a Git repository that contains some components that should be used as dependencies.

        A Git repository can safely be registered multiple times.

        Parameters:
        url - The URL of the Git repository.
        configureAction - An action to use to configure the repository.
        Since:
        4.10