Skip to content

Commit c9ae280

Browse files
committed
Use the existing command runner
1 parent ab76397 commit c9ae280

File tree

3 files changed

+1
-113
lines changed

3 files changed

+1
-113
lines changed

grails-console/src/main/groovy/grails/ui/command/GrailsRuntimeApplicationContextCommandRunner.groovy

Lines changed: 0 additions & 97 deletions
This file was deleted.

grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/commands/RuntimeApplicationContextCommandTask.groovy

Lines changed: 0 additions & 15 deletions
This file was deleted.

grails-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsGradlePlugin.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ class GrailsGradlePlugin extends GroovyPlugin {
519519
}
520520

521521
protected void configureRunCommand(Project project) {
522-
project.tasks.create("runCommand", RuntimeApplicationContextCommandTask) {
522+
project.tasks.create("runCommand", ApplicationContextCommandTask) {
523523
classpath = project.sourceSets.main.runtimeClasspath + project.configurations.console
524524
systemProperty Environment.KEY, System.getProperty(Environment.KEY, Environment.DEVELOPMENT.name)
525525
if (project.hasProperty('args')) {

0 commit comments

Comments
 (0)