Skip to content

Commit 0fbd518

Browse files
committed
Exclude logback-spring.xml when packaging plugins
Closes gh-948
1 parent 2ceefb7 commit 0fbd518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grace-gradle-plugin/src/main/groovy/org/grails/gradle/plugin/core/GrailsPluginGradlePlugin.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2015-2024 the original author or authors.
2+
* Copyright 2015-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -175,7 +175,7 @@ class GrailsPluginGradlePlugin extends GrailsGradlePlugin {
175175
project.tasks.named(JavaPlugin.JAR_TASK_NAME, Jar).configure { Jar jarTask ->
176176
jarTask.enabled = true
177177
jarTask.archiveClassifier.set('plugin')
178-
jarTask.exclude('application.yml', 'application.groovy', 'logback.groovy', 'logback.xml')
178+
jarTask.exclude('application.yml', 'application.groovy', 'logback.groovy', 'logback.xml', 'logback-spring.xml')
179179
}
180180
}
181181

0 commit comments

Comments
 (0)