> compiled);
-
- protected abstract TestResults test(Class>[] testable);
-
-}
diff --git a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyCustomizer.java b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyCustomizer.java
index 278a891156..a7e652de7a 100644
--- a/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyCustomizer.java
+++ b/spring-boot-cli/src/main/java/org/springframework/boot/cli/compiler/DependencyCustomizer.java
@@ -16,42 +16,42 @@
package org.springframework.boot.cli.compiler;
-import groovy.grape.Grape;
-import groovy.lang.Grapes;
+import groovy.lang.Grab;
import groovy.lang.GroovyClassLoader;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
+import org.codehaus.groovy.ast.AnnotationNode;
+import org.codehaus.groovy.ast.ClassNode;
+import org.codehaus.groovy.ast.ModuleNode;
+import org.codehaus.groovy.ast.expr.ConstantExpression;
/**
- * Customizer that allows dependencies to be added during compilation. Delegates to Groovy
- * {@link Grapes} to actually resolve dependencies. This class provides a fluent API for
- * conditionally adding dependencies. For example:
- * {@code dependencies.ifMissing("com.corp.SomeClass").add(group, module, version)}.
+ * Customizer that allows dependencies to be added during compilation. Adding a dependency
+ * results in a {@link Grab @Grab} annotation being added to the primary {@link ClassNode
+ * class} is the {@link ModuleNode module} that's being customized.
+ *
+ * This class provides a fluent API for conditionally adding dependencies. For example:
+ * {@code dependencies.ifMissing("com.corp.SomeClass").add(module)}.
*
* @author Phillip Webb
+ * @author Andy Wilkinson
*/
public class DependencyCustomizer {
private final GroovyClassLoader loader;
- private final List