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

   ## Summary
   
   Move the Groovy invokedynamic (indy) configuration from generated 
`build.gradle` files to the Grails Gradle Plugin, centralizing the setting and 
providing user feedback.
   
   ## Changes
   
   - Add `indy` property to `GrailsExtension` (default: `false`)
   - Configure `GroovyCompile` tasks in `GrailsGradlePlugin` to use the 
extension's indy setting
   - Display lifecycle message explaining indy is disabled for performance and 
how to enable it
   - Remove hardcoded `indy=false` from grails-forge template
   - Remove hardcoded `indy=false` from grails-profiles base skeleton
   
   ## User Experience
   
   The message appears **once per project** during configuration:
   
   ```
   > Configure project :
   Grails: Groovy invokedynamic (indy) is disabled to improve performance (see 
issue #15293).
           To enable invokedynamic: grails { indy = true } in build.gradle
   ```
   
   Users can enable indy in their `build.gradle`:
   
   ```groovy
   grails {
       indy = true
   }
   ```
   
   ## Testing
   
   - ✅ grails-gradle-plugins compiles successfully
   - ✅ grails-forge-core compiles successfully  
   - ✅ Message appears once during project configuration
   - ✅ Application starts and runs correctly
   
   Closes #15321


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