Interface DependencyManagement
-
- All Known Implementing Classes:
CompositeDependencyManagement,GrailsDependenciesDependencyManagement,MavenModelDependencyManagement
public interface DependencyManagementAn encapsulation of dependency management information.- Since:
- 2022.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Dependencyfind(java.lang.String artifactId)Finds the managed dependency with the givenartifactId.java.util.List<Dependency>getDependencies()Returns the managed dependencies.java.lang.StringgetGrailsVersion()java.lang.StringgetSpringBootVersion()Returns the managed version of Spring Boot.
-
-
-
Method Detail
-
getDependencies
java.util.List<Dependency> getDependencies()
Returns the managed dependencies.- Returns:
- the managed dependencies
-
getSpringBootVersion
java.lang.String getSpringBootVersion()
Returns the managed version of Spring Boot. May benull.- Returns:
- the Spring Boot version, or
null
-
getGrailsVersion
java.lang.String getGrailsVersion()
-
find
Dependency find(java.lang.String artifactId)
Finds the managed dependency with the givenartifactId.- Parameters:
artifactId- the artifact ID of the dependency to find- Returns:
- the dependency, or
null
-
-