Copilot commented on code in PR #16247:
URL: https://github.com/apache/grails-core/pull/16247#discussion_r3882511839
##########
grails-forge/grails-forge-web-netty/build.gradle:
##########
@@ -22,6 +22,7 @@ plugins {
id 'org.apache.grails.buildsrc.properties'
id 'org.apache.grails.buildsrc.dependency-validator'
id 'io.micronaut.application' version "$micronautApplicationPluginVersion"
+ id 'com.gradleup.shadow' version '8.3.6'
}
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
Review Comment:
The build now applies `com.gradleup.shadow`, but the script still imports
`com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar`. Depending on the
Shadow plugin fork/version, that class may no longer exist on the buildscript
classpath, causing configuration-time failures. Fix by aligning the imported
task type with the plugin actually applied (or remove the explicit import and
configure the `shadowJar` task by name) so the build doesn’t depend on a
potentially mismatched class package.
--
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]