@AutoFinal
@CompileStatic
class GrapeMaven
extends Object
implements GrapeEngine
Implementation supporting @Grape and @Grab annotations based on Maven.
| Type | Name and description |
|---|---|
boolean |
enableGrapes |
Set<MavenGrabRecord> |
grabRecordsForCurrDependenciesStores the MavenGrabRecord(s) for all dependencies in each grab() call. |
Map<ClassLoader, Set<MavenGrabRecord>> |
loadedDeps |
List<Closure> |
progressListeners |
List<RemoteRepository> |
repos |
| Constructor and description |
|---|
GrapeMaven() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
addProgressListener(Closure listener) |
|
void |
addResolver(Map<String, Object> args) |
|
static MavenGrabRecord |
createGrabRecord(Map dep) |
|
Map<String, Map<String, List<String>>> |
enumerateGrapes() |
|
URI[] |
getDependencies(Map args, List depsInfo, MavenGrabRecord[] grabRecords) |
|
static File |
getGrapeCacheDir() |
|
static File |
getGrapeDir() |
|
static File |
getGroovyRoot() |
|
Object |
grab(String endorsedModule)Grab the endorsed module for the current Groovy version. |
|
Object |
grab(Map args) |
|
Object |
grab(Map args, Map[] dependencies) |
|
Map[] |
listDependencies(ClassLoader classLoader) |
|
void |
removeProgressListener(Closure listener) |
|
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 MavenGrabRecord(s) for all dependencies in each grab() call.
Grab the endorsed module for the current Groovy version.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.