Class RepositoryInfo

  • All Implemented Interfaces:

    
    public final class RepositoryInfo
    
                        

    Represents the information on the version control repository associated with the current Gradle Project.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getUrl()
      final String getHash()
      final List<String> getSourceFiles()
      final JSONObject toJson()
      • Methods inherited from class java.lang.Object

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

      • RepositoryInfo

        RepositoryInfo(String url, String hash, List<String> sourceFiles)
        Parameters:
        url - Repository URL.
        hash - Commit hash.
        sourceFiles - Source files at the given commit.