Class LocalDirectoryDependencyManager
- java.lang.Object
-
- com.github.blindpirate.gogradle.core.dependency.install.LocalDirectoryDependencyManager
-
- All Implemented Interfaces:
VendorSupportMixin,CacheEnabledDependencyResolverMixin,DependencyManager
@Singleton public class LocalDirectoryDependencyManager extends java.lang.Object implements VendorSupportMixin, DependencyManager, CacheEnabledDependencyResolverMixin
-
-
Field Summary
-
Fields inherited from interface com.github.blindpirate.gogradle.core.dependency.resolve.CacheEnabledDependencyResolverMixin
LOGGER
-
-
Constructor Summary
Constructors Constructor Description LocalDirectoryDependencyManager(ProjectCacheManager projectCacheManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResolvedDependencydoResolve(ResolveContext context, NotationDependency dependency)ProjectCacheManagergetProjectCacheManager()voidinstall(ResolvedDependency dependency, java.io.File targetDirectory)Copy all necessary files of thisdependencyto thetargetDirectory.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.blindpirate.gogradle.core.dependency.resolve.CacheEnabledDependencyResolverMixin
resolve
-
Methods inherited from interface com.github.blindpirate.gogradle.core.dependency.install.VendorSupportMixin
determineDependency, determineRelativePath
-
-
-
-
Constructor Detail
-
LocalDirectoryDependencyManager
@Inject public LocalDirectoryDependencyManager(ProjectCacheManager projectCacheManager)
-
-
Method Detail
-
install
public void install(ResolvedDependency dependency, java.io.File targetDirectory)
Description copied from interface:DependencyManagerCopy all necessary files of thisdependencyto thetargetDirectory.- Specified by:
installin interfaceDependencyManager- Parameters:
dependency- the dependencytargetDirectory- the target directory
-
getProjectCacheManager
public ProjectCacheManager getProjectCacheManager()
- Specified by:
getProjectCacheManagerin interfaceCacheEnabledDependencyResolverMixin
-
doResolve
public ResolvedDependency doResolve(ResolveContext context, NotationDependency dependency)
- Specified by:
doResolvein interfaceCacheEnabledDependencyResolverMixin
-
-