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


##########
grails-docs/build.gradle:
##########
@@ -1,24 +1,51 @@
+import org.codehaus.groovy.ant.Groovy
+
+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()
+
+    // grails-docs classes are used in Gradle builds,
+    // so we must compile with Groovy 3 until Gradle upgrades to Groovy 4.
+    compileOnly "org.codehaus.groovy:groovy:$GroovySystem.version"

Review Comment:
   thank you!



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