Skip to content

Commit

Permalink
Plugin projects should not create tasks such as console shell `Ap…
Browse files Browse the repository at this point in the history
…plicationCommand` `runCommand` `runScript` `pathingJar`

Closes gh-774
  • Loading branch information
rainboyan committed Dec 4, 2024
1 parent 6891a25 commit 27e4b78
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,22 +122,12 @@ class GrailsGradlePlugin extends GroovyPlugin {

configureAssetCompilation(project)

configureConsoleTask(project)

configureForkSettings(project, grailsVersion)

configureGrailsSourceDirs(project)

configureApplicationCommands(project)

createBuildPropertiesTask(project)

configureRunScript(project)

configureRunCommand(project)

configurePathingJar(project)

configureGroovyASTMetadata(project)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ class GrailsWebGradlePlugin extends GrailsGradlePlugin {
void apply(Project project) {
super.apply(project)

configureConsoleTask(project)

configureApplicationCommands(project)

configureRunScript(project)

configureRunCommand(project)

configurePathingJar(project)

TaskContainer taskContainer = project.tasks
if (taskContainer.findByName('urlMappingsReport') == null) {
FileCollection fileCollection = buildClasspath(project, project.configurations.runtimeClasspath, project.configurations.console)
Expand Down

0 comments on commit 27e4b78

Please sign in to comment.