jamesfredley commented on code in PR #14093:
URL: https://github.com/apache/grails-core/pull/14093#discussion_r2021966928


##########
grails-docs/build.gradle:
##########
@@ -1,10 +1,23 @@
+plugins {
+    id 'groovy'
+    id 'java-library'
+    id 'project-report'
+}
+
+version = projectVersion
+group = 'org.grails'
+
 configurations {
     // Required to keep Gradle classes off the test compile classpath.
     gradleConf.extendsFrom compileClasspath
 }
 
 dependencies {
+
+    implementation platform(project(':grails-bom'))
+
     gradleConf gradleApi()
+    api "org.apache.groovy:groovy:$groovyVersion"

Review Comment:
   I think we got lucky on this one and the Groovy 4 compiled classes ran fine 
in Groovy 3, but I do agree with changing any code executed during the Gradle 
build to use `$GroovySystem.version` as a precaution.  



-- 
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]

Reply via email to