matrei opened a new pull request, #16352:
URL: https://github.com/apache/grails-core/pull/16352

   `configureAssetCompilation()` was compiled dynamically and called the 
private `configureAssetsOnTheClasspath()` of the same class. Once the 
`buildProperties` task has executed, Gradle replaces the meta class of the 
applied plugin class with `CallInterceptingMetaClass`. Under the Groovy 3 
runtime of Gradle 8 a dynamic call through that meta class does not find a 
private method of the superclass when the applied plugin is 
`GrailsWebGradlePlugin`, so every later build on the same daemon failed while 
applying the plugin with a `MissingMethodException`.
   
   Only the access to the asset pipeline's extension and task needs dynamic 
dispatch, so that part moves into its own method and 
`configureAssetCompilation()` is statically compiled.
   
   Adds a functional test that applies the web plugin twice on one daemon with 
`buildProperties` executed in between.
   
   Fixes #16347


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