Class DependencyGroups
java.lang.Object
com.carrotsearch.gradle.buildinfra.dependencychecks.DependencyGroups
- All Implemented Interfaces:
Serializable
An ordered set of named groups of
DependencyInfos.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDependencyGroups(Map<String, ? extends Set<com.carrotsearch.gradle.buildinfra.dependencychecks.DependencyInfo>> groups) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOrMerge(String groupName, com.carrotsearch.gradle.buildinfra.dependencychecks.DependencyInfo dependencyInfo) Add or merge the provided dependency information.voidmerge(DependencyGroups other) Merge with another dependency group.static DependencyGroupsvoidvoid
-
Field Details
-
objectMapper
public static com.fasterxml.jackson.databind.ObjectMapper objectMapper
-
-
Constructor Details
-
DependencyGroups
-
DependencyGroups
public DependencyGroups()
-
-
Method Details
-
getDependencies
-
writeTo
- Throws:
IOException
-
writeTo
- Throws:
IOException
-
readFrom
- Throws:
IOException
-
addOrMerge
public void addOrMerge(String groupName, com.carrotsearch.gradle.buildinfra.dependencychecks.DependencyInfo dependencyInfo) Add or merge the provided dependency information.- Parameters:
groupName- The group this dependency is added to.dependencyInfo- The dependency info to be added or merged.
-
merge
Merge with another dependency group.- Parameters:
other- the other dependency group to merge with.
-