@Singleton public class DefaultDependencyProduceStrategy extends java.lang.Object implements DependencyProduceStrategy
First, it will check if there are external package manager and vendor director. If so, use them and let vendor dependencies have higher priority. Otherwise, as a fallback, it will scan source code to get dependencies.
DEFAULT_STRATEGY| Constructor and Description |
|---|
DefaultDependencyProduceStrategy() |
| Modifier and Type | Method and Description |
|---|---|
GolangDependencySet |
produce(ResolvedDependency dependency,
java.io.File rootDir,
DependencyVisitor visitor,
java.lang.String configuration) |
public GolangDependencySet produce(ResolvedDependency dependency, java.io.File rootDir, DependencyVisitor visitor, java.lang.String configuration)
produce in interface DependencyProduceStrategy