Fix CLI package tangles

pull/313/head
Phillip Webb 11 years ago
parent 70cb8cfed6
commit 1061d582dc

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.cli.compiler.transformation;
package org.springframework.boot.cli.compiler;
import groovy.lang.GroovyClassLoader;
@ -23,9 +23,7 @@ import org.codehaus.groovy.ast.ClassNode;
import org.codehaus.groovy.ast.ModuleNode;
import org.codehaus.groovy.control.SourceUnit;
import org.codehaus.groovy.transform.ASTTransformation;
import org.springframework.boot.cli.compiler.ArtifactCoordinatesResolver;
import org.springframework.boot.cli.compiler.CompilerAutoConfiguration;
import org.springframework.boot.cli.compiler.DependencyCustomizer;
import org.springframework.boot.cli.compiler.dependencies.ArtifactCoordinatesResolver;
/**
* {@link ASTTransformation} to apply

@ -23,6 +23,7 @@ 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;
import org.springframework.boot.cli.compiler.dependencies.ArtifactCoordinatesResolver;
/**
* Customizer that allows dependencies to be added during compilation. Adding a dependency

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.cli.compiler.transformation;
package org.springframework.boot.cli.compiler;
import java.lang.reflect.Modifier;
import java.util.ArrayList;

@ -42,12 +42,11 @@ import org.codehaus.groovy.control.customizers.CompilationCustomizer;
import org.codehaus.groovy.control.customizers.ImportCustomizer;
import org.codehaus.groovy.transform.ASTTransformation;
import org.codehaus.groovy.transform.ASTTransformationVisitor;
import org.springframework.boot.cli.compiler.dependencies.ArtifactCoordinatesResolver;
import org.springframework.boot.cli.compiler.dependencies.ManagedDependenciesArtifactCoordinatesResolver;
import org.springframework.boot.cli.compiler.grape.AetherGrapeEngine;
import org.springframework.boot.cli.compiler.grape.AetherGrapeEngineFactory;
import org.springframework.boot.cli.compiler.grape.GrapeEngineInstaller;
import org.springframework.boot.cli.compiler.transformation.DependencyAutoConfigurationTransformation;
import org.springframework.boot.cli.compiler.transformation.GroovyBeansTransformation;
import org.springframework.boot.cli.compiler.transformation.ResolveDependencyCoordinatesTransformation;
import org.springframework.boot.cli.util.ResourceUtils;
/**

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.cli.compiler.transformation;
package org.springframework.boot.cli.compiler;
import groovy.lang.Grab;
@ -35,10 +35,11 @@ import org.codehaus.groovy.ast.expr.ConstantExpression;
import org.codehaus.groovy.ast.expr.Expression;
import org.codehaus.groovy.control.SourceUnit;
import org.codehaus.groovy.transform.ASTTransformation;
import org.springframework.boot.cli.compiler.ArtifactCoordinatesResolver;
import org.springframework.boot.cli.compiler.dependencies.ArtifactCoordinatesResolver;
/**
* {@link ASTTransformation} to resolve {@link Grab} artifact coordinates.
*
* @author Andy Wilkinson
* @author Phillip Webb
*/

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.cli.compiler;
package org.springframework.boot.cli.compiler.dependencies;
/**
* A resolver for artifacts' Maven coordinates, allowing a group id or version to be

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.cli.compiler;
package org.springframework.boot.cli.compiler.dependencies;
import org.springframework.boot.dependency.tools.Dependency;
import org.springframework.boot.dependency.tools.ManagedDependencies;

@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.boot.cli.compiler.transformation;
package org.springframework.boot.cli.compiler;
import groovy.lang.Grab;
@ -42,7 +42,8 @@ import org.codehaus.groovy.control.io.ReaderSource;
import org.codehaus.groovy.transform.ASTTransformation;
import org.junit.Before;
import org.junit.Test;
import org.springframework.boot.cli.compiler.ArtifactCoordinatesResolver;
import org.springframework.boot.cli.compiler.ResolveDependencyCoordinatesTransformation;
import org.springframework.boot.cli.compiler.dependencies.ArtifactCoordinatesResolver;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.mock;

@ -14,10 +14,11 @@
* limitations under the License.
*/
package org.springframework.boot.cli.compiler;
package org.springframework.boot.cli.compiler.dependencies;
import org.junit.Before;
import org.junit.Test;
import org.springframework.boot.cli.compiler.dependencies.ManagedDependenciesArtifactCoordinatesResolver;
import org.springframework.boot.dependency.tools.Dependency;
import org.springframework.boot.dependency.tools.ManagedDependencies;
Loading…
Cancel
Save