Class GovendorDependencyFactory
- java.lang.Object
-
- com.github.blindpirate.gogradle.core.dependency.produce.ExternalDependencyFactory
-
- com.github.blindpirate.gogradle.core.dependency.produce.external.govendor.GovendorDependencyFactory
-
@Singleton public class GovendorDependencyFactory extends ExternalDependencyFactory
Converts vendor/vendor.json in repos managed by govendor to gogradle map notations.- See Also:
- govendor
-
-
Field Summary
-
Fields inherited from class com.github.blindpirate.gogradle.core.dependency.produce.ExternalDependencyFactory
mapNotationParser, packagePathResolver
-
-
Constructor Summary
Constructors Constructor Description GovendorDependencyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<java.util.Map<java.lang.String,java.lang.Object>>adapt(java.io.File file)java.lang.StringidentityFileName()Relative paths of the identity file.-
Methods inherited from class com.github.blindpirate.gogradle.core.dependency.produce.ExternalDependencyFactory
adaptTest, canRecognize, extractNotations, produce
-
-
-
-
Method Detail
-
identityFileName
public java.lang.String identityFileName()
Description copied from class:ExternalDependencyFactoryRelative paths of the identity file. For example, "Godeps/Godeps.json", "glide.yaml"- Specified by:
identityFileNamein classExternalDependencyFactory- Returns:
- name of that file
-
adapt
protected java.util.List<java.util.Map<java.lang.String,java.lang.Object>> adapt(java.io.File file)
- Specified by:
adaptin classExternalDependencyFactory
-
-