jamesfredley opened a new issue, #14682:
URL: https://github.com/apache/grails-core/issues/14682

   ### Issue description
   
   
https://github.com/apache/grails-core/actions/runs/14760883358/job/41441013577?pr=14681
   
   ```
   A problem was found with the configuration of task ':grails-doc:docs' (type 
'Sync').
     - Gradle detected a problem with the following location: 
'/home/runner/work/grails-core/grails-core/grails-data-docs/stage/build/docs'.
       
       Reason: Task ':grails-doc:docs' uses this output of task 
':grails-data-docs-stage:groovydoc' without declaring an explicit or implicit 
dependency. This can lead to incorrect results being produced, depending on 
what order the tasks are executed.
       
       Possible solutions:
         1. Declare task ':grails-data-docs-stage:groovydoc' as an input of 
':grails-doc:docs'.
         2. Declare an explicit dependency on 
':grails-data-docs-stage:groovydoc' from ':grails-doc:docs' using 
Task#dependsOn.
         3. Declare an explicit dependency on 
':grails-data-docs-stage:groovydoc' from ':grails-doc:docs' using 
Task#mustRunAfter.
       
       For more information, please refer to 
https://docs.gradle.org/8.14/userguide/validation_problems.html#implicit_dependency
 in the Gradle documentation.
   
   * Try:
   > Declare task ':grails-data-docs-stage:groovydoc' as an input of 
':grails-doc:docs'
   > Declare an explicit dependency on ':grails-data-docs-stage:groovydoc' from 
':grails-doc:docs' using Task#dependsOn
   > Declare an explicit dependency on ':grails-data-docs-stage:groovydoc' from 
':grails-doc:docs' using Task#mustRunAfter
   
   * Exception is:
   org.gradle.internal.execution.WorkValidationException: A problem was found 
with the configuration of task ':grails-doc:docs' (type 'Sync').
     - Gradle detected a problem with the following location: 
'/home/runner/work/grails-core/grails-core/grails-data-docs/stage/build/docs'.
       
       Reason: Task ':grails-doc:docs' uses this output of task 
':grails-data-docs-stage:groovydoc' without declaring an explicit or implicit 
dependency. This can lead to incorrect results being produced, depending on 
what order the tasks are executed.
       
       Possible solutions:
         1. Declare task ':grails-data-docs-stage:groovydoc' as an input of 
':grails-doc:docs'.
         2. Declare an explicit dependency on 
':grails-data-docs-stage:groovydoc' from ':grails-doc:docs' using 
Task#dependsOn.
         3. Declare an explicit dependency on 
':grails-data-docs-stage:groovydoc' from ':grails-doc:docs' using 
Task#mustRunAfter.
   ```


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