Interface RepositoryDetector

  • All Implemented Interfaces:

    
    public interface RepositoryDetector
    
                        

    Describes a class which can detect information about the version control repository associated with a Gradle Project.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract List<RepositoryInfo> detectRepositories(List<File> sourceSetRoots, String extensionProvidedRemoteUrl) Perform a local analysis of the repository.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • detectRepositories

         abstract List<RepositoryInfo> detectRepositories(List<File> sourceSetRoots, String extensionProvidedRemoteUrl)

        Perform a local analysis of the repository.

        Parameters:
        sourceSetRoots - the list of relevant sourceSet root folders
        extensionProvidedRemoteUrl - the remote repository url provided in the plugin extension.
        Returns:

        a list of RepositoryInfo describing the underlying Gradle Project