Class GolangConfiguration
- java.lang.Object
-
- com.github.blindpirate.gogradle.core.GolangConfiguration
-
public class GolangConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GolangConfiguration(java.lang.String name, NotationParser notationParser, PackagePathResolver packagePathResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFirstLevelDependency(java.lang.Object notation, groovy.lang.Closure closure)GolangDependencycreate(java.lang.Object dependencyNotation, groovy.lang.Closure configureClosure)GolangDependencySetgetDependencies()DependencyRegistrygetDependencyRegistry()java.lang.StringgetName()booleanhasFirstLevelDependencies()
-
-
-
Field Detail
-
BUILD
public static final java.lang.String BUILD
- See Also:
- Constant Field Values
-
TEST
public static final java.lang.String TEST
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GolangConfiguration
public GolangConfiguration(java.lang.String name, NotationParser notationParser, PackagePathResolver packagePathResolver)
-
-
Method Detail
-
getDependencyRegistry
public DependencyRegistry getDependencyRegistry()
-
getDependencies
public GolangDependencySet getDependencies()
-
getName
public java.lang.String getName()
-
addFirstLevelDependency
public void addFirstLevelDependency(java.lang.Object notation, groovy.lang.Closure closure)
-
create
public GolangDependency create(java.lang.Object dependencyNotation, groovy.lang.Closure configureClosure)
-
hasFirstLevelDependencies
public boolean hasFirstLevelDependencies()
-
-