Skip to content

Commit

Permalink
Update GrailsWebGradlePlugin.groovy
Browse files Browse the repository at this point in the history
Use property getter for compatibility with Java classes
  • Loading branch information
puneetbehl committed Feb 8, 2023
1 parent fb4decc commit b00b857
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class GrailsWebGradlePlugin extends GrailsGradlePlugin {
FileCollection fileCollection = buildClasspath(project, project.configurations.runtimeClasspath, project.configurations.console)
taskContainer.create("urlMappingsReport", ApplicationContextCommandTask) {
classpath = fileCollection
systemProperty Environment.KEY, System.getProperty(Environment.KEY, Environment.DEVELOPMENT.name)
systemProperty Environment.KEY, System.getProperty(Environment.KEY, Environment.DEVELOPMENT.getName())
command = 'url-mappings-report'
}
}
Expand Down

0 comments on commit b00b857

Please sign in to comment.