public interface DependencyManager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
GRAILS_CENTRAL_PLUGIN_LIST
URL to the central Grails plugin repository's global plugin list
|
| Modifier and Type | Method and Description |
|---|---|
DependencyManager |
createCopy(grails.util.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<org.codehaus.groovy.grails.resolve.Dependency> |
getAllDependencies()
All dependencies of the current application
|
java.util.Collection<org.codehaus.groovy.grails.resolve.Dependency> |
getAllDependencies(java.lang.String scope)
All dependencies of the current application
|
java.util.Collection<org.codehaus.groovy.grails.resolve.Dependency> |
getApplicationDependencies()
The direct dependencies of the application, not including framework or dependencies inherited from plugins
|
java.util.Collection<org.codehaus.groovy.grails.resolve.Dependency> |
getApplicationDependencies(java.lang.String scope)
The direct dependencies of the application, not including framework or dependencies inherited from plugins
|
org.codehaus.groovy.grails.resolve.ExcludeResolver |
getExcludeResolver() |
java.util.Collection<org.codehaus.groovy.grails.resolve.Dependency> |
getPluginDependencies() |
java.util.Collection<org.codehaus.groovy.grails.resolve.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()
Resolve dependencies for the default scope
|
DependencyReport |
resolve(java.lang.String scope)
Resolve dependencies for the given scope
|
DependencyReport |
resolveAgent()
Resolve the JVM agent to be used for the forked JVM
|
DependencyReport |
resolveDependency(org.codehaus.groovy.grails.resolve.Dependency dependency)
Resolves a single dependency.
|
static final java.lang.String GRAILS_CENTRAL_PLUGIN_LIST
groovy.util.slurpersupport.GPathResult downloadPluginList(java.io.File localFile)
localFile - The local filegroovy.util.slurpersupport.GPathResult downloadPluginInfo(java.lang.String pluginName,
java.lang.String pluginVersion)
pluginName - The plugin namepluginVersion - The plugin versionvoid produceReport()
void produceReport(java.lang.String scope)
scope - The scope of the reportDependencyManager createCopy(grails.util.BuildSettings buildSettings)
buildSettings - The BuildSettingsDependencyReport resolve(java.lang.String scope)
scope - The scopeDependencyReport instanceDependencyReport resolveAgent()
DependencyReport instance or null if no agent configuredDependencyReport resolve()
DependencyReport instanceDependencyReport resolveDependency(org.codehaus.groovy.grails.resolve.Dependency dependency)
dependency - A Dependency instance.DependencyReport instance for the given dependencyjava.util.Collection<org.codehaus.groovy.grails.resolve.Dependency> getApplicationDependencies()
java.util.Collection<org.codehaus.groovy.grails.resolve.Dependency> getPluginDependencies()
java.util.Collection<org.codehaus.groovy.grails.resolve.Dependency> getAllDependencies()
java.util.Collection<org.codehaus.groovy.grails.resolve.Dependency> getApplicationDependencies(java.lang.String scope)
scope - The scope of the dependenciesjava.util.Collection<org.codehaus.groovy.grails.resolve.Dependency> getPluginDependencies(java.lang.String scope)
scope - The scope of the dependenciesjava.util.Collection<org.codehaus.groovy.grails.resolve.Dependency> getAllDependencies(java.lang.String scope)
scope - The scope of the dependenciesorg.codehaus.groovy.grails.resolve.ExcludeResolver getExcludeResolver()
void parseDependencies(groovy.lang.Closure callable)
callable - The DSL definition