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


##########
build-logic/plugins/src/main/groovy/org/apache/grails/buildsrc/GroovydocEnhancerExtension.groovy:
##########
@@ -89,7 +89,7 @@ class GroovydocEnhancerExtension {
     @Inject
     GroovydocEnhancerExtension(ObjectFactory objects, Project project) {
         javaVersion = objects.property(String).convention(
-                "JAVA_${GradleUtils.findProperty(project, 'javaVersion') ?: 
'17'}" as String
+                project.provider { "JAVA_${GradleUtils.findProperty(project, 
'javaVersion') ?: '17'}" as String }

Review Comment:
   The end grails project will not have javaVersion set in the project, unless 
they are attempting to overriode and change the version lower or higher for 
groovydoc support.  17 is here as the automatic default.



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