Skip to content

Commit

Permalink
Grails Shell: remove dependency of 'spring-boot-cli'
Browse files Browse the repository at this point in the history
- remove SpringBootDependenciesDependencyManagement, use GrailsDependenciesDependencyManagement
  • Loading branch information
rainboyan committed Mar 26, 2023
1 parent b16debe commit e213948
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 57 deletions.
3 changes: 0 additions & 3 deletions grails-shell/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ dependencies {
compileOnly libs.spring.web
api libs.jansi
api libs.jline
api libs.spring.boot.cli, {
exclude group: "org.codehaus.groovy", module: "groovy"
}
dependenciesBom project(path: ":grails-bom", configuration: 'effectiveBom')
implementation(libs.maven.resolver.provider) {
exclude group: "com.google.guava", module: "guava"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@

/**
* {@link ArtifactCoordinatesResolver} backed by
* {@link SpringBootDependenciesDependencyManagement}.
* {@link GrailsDependenciesDependencyManagement}.
*
* @author Phillip Webb
* @author Andy Wilkinson
* @author Michael Yan
* @since 2022.1.0
*/
public class DependencyManagementArtifactCoordinatesResolver implements ArtifactCoordinatesResolver {
Expand All @@ -34,7 +35,7 @@ public class DependencyManagementArtifactCoordinatesResolver implements Artifact
private final DependencyManagement dependencyManagement;

public DependencyManagementArtifactCoordinatesResolver() {
this(new SpringBootDependenciesDependencyManagement());
this(new GrailsDependenciesDependencyManagement());
}

public DependencyManagementArtifactCoordinatesResolver(DependencyManagement dependencyManagement) {
Expand Down

This file was deleted.

0 comments on commit e213948

Please sign in to comment.