Class GogradleRootProduceStrategy
- java.lang.Object
-
- com.github.blindpirate.gogradle.core.dependency.produce.strategy.GogradleRootProduceStrategy
-
- All Implemented Interfaces:
DependencyProduceStrategy
@Singleton public class GogradleRootProduceStrategy extends java.lang.Object implements DependencyProduceStrategy
InDEVELOPmode, dependencies in build.gradle have higher priority. InREPRODUCIBLEmode, dependencies in gogradle.lock have higher priority.Additionally, if there aren't any dependencies in build.gradle, a scan for external dependency management tools will be performed.
-
-
Field Summary
-
Fields inherited from interface com.github.blindpirate.gogradle.core.dependency.produce.strategy.DependencyProduceStrategy
DEFAULT_STRATEGY
-
-
Constructor Summary
Constructors Constructor Description GogradleRootProduceStrategy(GolangPluginSetting settings, GolangConfigurationManager configurationManager, LockedDependencyManager lockedDependencyManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GolangDependencySetproduce(ResolvedDependency dependency, java.io.File projectRoot, DependencyVisitor visitor, java.lang.String configuration)
-
-
-
Constructor Detail
-
GogradleRootProduceStrategy
@Inject public GogradleRootProduceStrategy(GolangPluginSetting settings, GolangConfigurationManager configurationManager, LockedDependencyManager lockedDependencyManager)
-
-
Method Detail
-
produce
public GolangDependencySet produce(ResolvedDependency dependency, java.io.File projectRoot, DependencyVisitor visitor, java.lang.String configuration)
- Specified by:
producein interfaceDependencyProduceStrategy
-
-