General interface for all dependency manager implementations to implement with common utility methods not tied to Ivy or Aether or any dependency resolution engine
Modifiers | Name | Description |
---|---|---|
java.lang.String |
GRAILS_CENTRAL_PLUGIN_LIST |
URL to the central Grails plugin repository's global plugin list |
Type | Name and description |
---|---|
DependencyManager |
createCopy(BuildSettings buildSettings) Creates a copy of this dependency manager with repository configuration retained but dependencies omitted. |
groovy.util.slurpersupport.GPathResult |
downloadPluginInfo(java.lang.String pluginName, java.lang.String pluginVersion) Downloads information about a plugin from the -plugin.xml file |
groovy.util.slurpersupport.GPathResult |
downloadPluginList(java.io.File localFile) Downloads the Grails central plugin list and saves it to the given file. |
java.util.Collection<Dependency> |
getAllDependencies() All dependencies of the current application |
java.util.Collection<Dependency> |
getAllDependencies(java.lang.String scope) All dependencies of the current application |
java.util.Collection<Dependency> |
getApplicationDependencies() The direct dependencies of the application, not including framework or dependencies inherited from plugins |
java.util.Collection<Dependency> |
getApplicationDependencies(java.lang.String scope) The direct dependencies of the application, not including framework or dependencies inherited from plugins |
ExcludeResolver |
getExcludeResolver() @return Returns the exclude resolver for this dependency manager |
java.util.Collection<Dependency> |
getPluginDependencies() @return The plugin dependencies of the application |
java.util.Collection<Dependency> |
getPluginDependencies(java.lang.String scope) The direct plugin dependencies of the application, not including framework or dependencies inherited from plugins |
void |
parseDependencies(groovy.lang.Closure callable) Parse the dependency definition DSL |
void |
produceReport() Outputs the dependency graph to System.out |
void |
produceReport(java.lang.String scope) Outputs the dependency graph to System.out |
DependencyReport |
resolve(java.lang.String scope) Resolve dependencies for the given scope |
DependencyReport |
resolve() Resolve dependencies for the default scope |
DependencyReport |
resolveAgent() Resolve the JVM agent to be used for the forked JVM |
DependencyReport |
resolveDependency(Dependency dependency) Resolves a single dependency. |
URL to the central Grails plugin repository's global plugin list
Creates a copy of this dependency manager with repository configuration retained but dependencies omitted.
buildSettings
- The BuildSettingsDownloads information about a plugin from the -plugin.xml file
pluginName
- The plugin namepluginVersion
- The plugin versionDownloads the Grails central plugin list and saves it to the given file. The file is then parsed and the resulting XML returned
localFile
- The local fileAll dependencies of the current application
All dependencies of the current application
scope
- The scope of the dependenciesThe direct dependencies of the application, not including framework or dependencies inherited from plugins
The direct dependencies of the application, not including framework or dependencies inherited from plugins
scope
- The scope of the dependencies
The direct plugin dependencies of the application, not including framework or dependencies inherited from plugins
scope
- The scope of the dependenciesParse the dependency definition DSL
callable
- The DSL definitionOutputs the dependency graph to System.out
Outputs the dependency graph to System.out
scope
- The scope of the reportResolve dependencies for the given scope
scope
- The scopeResolve dependencies for the default scope
Resolve the JVM agent to be used for the forked JVM
Resolves a single dependency.
dependency
- A Dependency instance.