[Groovy] Class GrapeIvy
- groovy.grape.GrapeIvy
- All Implemented Interfaces and Traits:
- GrapeEngine
class GrapeIvy extends Object
Implementation supporting @Grape
and @Grab
annotations based on Ivy.
Properties Summary
Type | Name and description |
---|---|
static int |
DEFAULT_DEPTH |
Set<String> |
downloadedArtifacts |
boolean |
enableGrapes |
Set<IvyGrabRecord> |
grabRecordsForCurrDependencies |
org.apache.ivy.Ivy |
ivyInstance |
Map<ClassLoader, Set<IvyGrabRecord>> |
loadedDeps |
Set<String> |
resolvedDependencies |
org.apache.ivy.core.settings.IvySettings |
settings |
Constructor Summary
Constructor and description |
---|
GrapeIvy
() |
Methods Summary
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail
static final int DEFAULT_DEPTH
Set<String> downloadedArtifacts
boolean enableGrapes
Set<IvyGrabRecord> grabRecordsForCurrDependencies
org.apache.ivy.Ivy ivyInstance
Map<ClassLoader, Set<IvyGrabRecord>> loadedDeps
Set<String> resolvedDependencies
org.apache.ivy.core.settings.IvySettings settings
Constructor Detail
GrapeIvy()
Method Detail
@Override @CompileStatic void addResolver(Map<String, Object> args)
@CompileStatic ClassLoader chooseClassLoader(Map args)
@SuppressWarnings('Instanceof') IvyGrabRecord createGrabRecord(Map deps)
@Override @CompileStatic Map<String, Map<String, List<String>>> enumerateGrapes()
org.apache.ivy.core.report.ResolveReport getDependencies(Map args, IvyGrabRecord... grabRecords)
@CompileStatic File getGrapeCacheDir()
@CompileStatic File getGrapeDir()
@CompileStatic File getGroovyRoot()
@CompileStatic File getLocalGrapeConfig()
@Override @CompileStatic def grab(String endorsedModule)
@Override @CompileStatic def grab(Map args)
@Override @CompileStatic def grab(Map args, Map... dependencies)
@Override Map[] listDependencies(ClassLoader classLoader)
@CompileStatic void processOtherServices(ClassLoader loader, File f)
@CompileStatic void processRunners(InputStream is, String name, ClassLoader loader)
@CompileStatic void processSerializedCategoryMethods(InputStream is)
@Override @CompileStatic URI[] resolve(Map args, Map... dependencies)
@Override @CompileStatic URI[] resolve(Map args, List depsInfo, Map... dependencies)
@CompileStatic URI[] resolve(ClassLoader loader, Map args, Map... dependencies)
URI[] resolve(ClassLoader loader, Map args, List depsInfo, Map... dependencies)
void uninstallArtifact(String group, String module, String rev)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/grape/GrapeIvy.html