Copilot commented on code in PR #16351:
URL: https://github.com/apache/grails-core/pull/16351#discussion_r4040330533
##########
grails-gsp/grails-taglib/build.gradle:
##########
@@ -93,3 +93,7 @@ apply {
from rootProject.layout.projectDirectory.file('gradle/docs-config.gradle')
from rootProject.layout.projectDirectory.file('gradle/test-config.gradle')
}
+
+tasks.withType(Jar) {
+ duplicatesStrategy = DuplicatesStrategy.EXCLUDE
+}
Review Comment:
Use `configureEach` when configuring tasks by type to avoid eager task
realization and to match the pattern used elsewhere in this PR; also add a
brief comment explaining why duplicates are being excluded.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]