diff --git a/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy b/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy index c5a39f22..90aa0b66 100644 --- a/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy +++ b/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy @@ -221,7 +221,13 @@ class GrailsPluginGradlePlugin extends GrailsGradlePlugin { project.tasks.named('jar', Jar) { Jar jarTask -> jarTask.enabled = true jarTask.archiveClassifier.set('') // Remove '-plain' suffix from jar file name - jarTask.exclude('application.yml', 'application.groovy', 'logback.groovy', 'logback.xml', 'logback-spring.xml') + jarTask.exclude( + 'application.groovy', + 'application.yml', + 'logback.groovy', + 'logback.xml', + 'logback-spring.xml' + ) } }