Interface NotationDependency
-
- All Superinterfaces:
java.lang.Cloneable,org.gradle.api.artifacts.Dependency,GolangCloneable,GolangDependency,java.io.Serializable
- All Known Implementing Classes:
AbstractNotationDependency,BazaarNotationDependency,GitNotationDependency,GogradleRootProject,LocalDirectoryDependency,MercurialNotationDependency,SvnNotationDependency,UnrecognizedNotationDependency,VcsNotationDependency,VendorNotationDependency
public interface NotationDependency extends GolangDependency
Represents a dependency package defined by some notations, e.g.[name:'golang/x/tools', commitId:'1a2b3c4d5e', transitive: false]. A NotationDependency may not be concrete since it could contains an specific version, e.g.[name:'golang.org/x/tools, version:'LATEST_VERSION']
-
-
Field Summary
-
Fields inherited from interface org.gradle.api.artifacts.Dependency
ARCHIVES_CONFIGURATION, CLASSIFIER, DEFAULT_CONFIGURATION
-
Fields inherited from interface com.github.blindpirate.gogradle.core.dependency.GolangDependency
ALL_DESCENDANTS, ONLY_CURRENT_FILES
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<java.util.function.Predicate<GolangDependency>>getTransitiveDepExclusions()The set used to exclude some dependency packages.-
Methods inherited from interface org.gradle.api.artifacts.Dependency
because, contentEquals, copy, getGroup, getReason
-
Methods inherited from interface com.github.blindpirate.gogradle.core.GolangCloneable
clone
-
Methods inherited from interface com.github.blindpirate.gogradle.core.dependency.GolangDependency
getCacheScope, getName, getPackage, getSubpackages, getVersion, isFirstLevel, resolve
-
-
-
-
Method Detail
-
getTransitiveDepExclusions
java.util.Set<java.util.function.Predicate<GolangDependency>> getTransitiveDepExclusions()
The set used to exclude some dependency packages.- Returns:
- the set of predicates
-
-