Closed codeconsole closed 5 days ago
During the discussion, I got the impression that the changes discussed were regarding making the 6.2.1 release compatible with Gradle 8.9 (without actually upgrading). Did I misunderstand?
@matrei Gradle wouldn't be upgraded in 6.x, but the incompatible gsp task could. Right now 7.x grails-gradle-plugin doesn't work with any version of Gradle.
diff where Gradle changed GroovyForkOptions to an abstract class. "Make more types that are visible in the DSL abstract"
@codeconsole @davydotcom Here is my wild guess https://github.com/grails/grails-gradle-plugin/compare/7.0.x...jamesfredley/GroovyForkOptionsFor7?expand=1
This does get https://github.com/codeconsole/website.git -b 7.0.0-SNAPSHOT website7
past the GroovyPageForkCompileTask
issue and then it runs into two versions of groovy-xml. I am not sure about it passing config, since I couldn't find an example where it was being used for GroovyPageForkCompileTask
This code will also compile on Gradle 7.6.4, if we want it for Grails 6.2.1.
https://github.com/grails/grails-gradle-plugin/blob/7.0.x/src/main/groovy/org/grails/gradle/plugin/web/gsp/GspCompileOptions.groovy
https://github.com/grails/grails-gradle-plugin/commit/46ffc01adead46a4dfe422670b19292450ab6c02#diff-d42544013c3ef28d9a899aa97c700376cca65606e62ec1daf6da8e98ea9b66a9