@AutoFinal
@CompileStatic
class GrapeIvy
extends Object
implements GrapeEngine
Implementation supporting @Grape and @Grab annotations based on Ivy.
| Type | Name and description |
|---|---|
Set<String> |
downloadedArtifacts |
boolean |
enableGrapes |
Set<IvyGrabRecord> |
grabRecordsForCurrDependenciesStores the IvyGrabRecord(s) for all dependencies in each grab() call. |
Ivy |
ivyInstance |
Map<ClassLoader, Set<IvyGrabRecord>> |
loadedDeps |
Set<String> |
resolvedDependencies |
IvySettings |
settings |
| Constructor and description |
|---|
GrapeIvy() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
addResolver(Map<String, Object> args) |
|
ClassLoader |
chooseClassLoader(Map args) |
|
IvyGrabRecord |
createGrabRecord(Map dep) |
|
Map<String, Map<String, List<String>>> |
enumerateGrapes() |
|
ResolveReport |
getDependencies(Map args, IvyGrabRecord[] grabRecords) |
|
File |
getGrapeCacheDir() |
|
File |
getGrapeDir() |
|
File |
getGroovyRoot() |
|
File |
getLocalGrapeConfig() |
|
Object |
grab(String endorsedModule) |
|
Object |
grab(Map args) |
|
Object |
grab(Map args, Map[] dependencies) |
|
Map[] |
listDependencies(ClassLoader classLoader) |
|
IvyListener |
makeIvyListener(Closure c) |
|
URI[] |
resolve(Map args, Map[] dependencies) |
|
URI[] |
resolve(Map args, List depsInfo, Map[] dependencies) |
|
URI[] |
resolve(ClassLoader loader, Map args, Map[] dependencies) |
|
URI[] |
resolve(ClassLoader loader, Map args, List depsInfo, Map[] dependencies) |
|
void |
setLoggingLevel(int level) |
|
void |
uninstallArtifact(String group, String module, String rev) |
Stores the IvyGrabRecord(s) for all dependencies in each grab() call.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.