Skip to content

Commit 191b141

Browse files
committed
minor refactor: Ivy should be test runtime (use current package)
1 parent fe1cc44 commit 191b141

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

subprojects/groovy-console/src/main/groovy/groovy/console/ui/ConsoleIvyPlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class ConsoleIvyPlugin {
3434
def addListener(Console console) {
3535
savedConsole = console
3636
GrapeEngine engine = Grape.instance
37-
if (engine?.class?.name == 'groovy.grape.ivy.GrapeIvy' && engine.metaClass.respondsTo(engine, 'getIvyInstance', Closure)) {
37+
if (engine?.class?.name == 'groovy.grape.GrapeIvy' && engine.metaClass.respondsTo(engine, 'getIvyInstance', Closure)) {
3838
engine.ivyInstance.eventManager.addIvyListener(engine.makeIvyListener{ ivyEvent ->
3939
switch (ivyEvent.class.simpleName) {
4040
case 'StartResolveEvent':

0 commit comments

Comments
 (0)