Class VcsNotationDependency

    • Constructor Detail

      • VcsNotationDependency

        public VcsNotationDependency()
    • Method Detail

      • getCommit

        public java.lang.String getCommit()
      • getTag

        public java.lang.String getTag()
      • setCommit

        public void setCommit​(java.lang.String commit)
      • getBranch

        public java.lang.String getBranch()
      • setBranch

        public void setBranch​(java.lang.String branch)
      • setTag

        public void setTag​(java.lang.String tag)
      • getUrls

        public java.util.List<java.lang.String> getUrls()
      • setVersion

        public void setVersion​(java.lang.String version)
      • getVersion

        public java.lang.String getVersion()
        Description copied from interface: GolangDependency
        An unique identifier to locate a dependency, e.g., git commit id.
        Specified by:
        getVersion in interface org.gradle.api.artifacts.Dependency
        Specified by:
        getVersion in interface GolangDependency
        Overrides:
        getVersion in class AbstractGolangDependency
        Returns:
        the version string
      • getCacheScope

        public CacheScope getCacheScope()
        Description copied from interface: GolangDependency
        Get cache scope of this dependency.
        Returns:
        the cache scope
      • isLatest

        public boolean isLatest()