Re: Using javaVersion for groovydoc in 4.0.27

2025-05-29 Thread Per Nyfelt
In case someone else want to do this, here's what I did to get the workaround working: 1. Add the dependencies: implementation "org.apache.groovy:groovy:4.0.27" // only needed for groovydoc so limit to compilescope compileOnly "org.apache.groovy:groovy-ant:4.0.27" compileOnly "org.apache.groov

Re: Using javaVersion for groovydoc in 4.0.27

2025-05-29 Thread Per Nyfelt
Great, thanks Paul! The workaround using ant directly in gradle works fine! I created a feature request to support the javaVersion property to the gradle team here https://github.com/gradle/gradle/issues/33659. Best regards, Per On 5/29/25 08:52, Paul King wrote: Yes, Gradle doesn't know ab

Re: Using javaVersion for groovydoc in 4.0.27

2025-05-29 Thread Paul King
Yes, Gradle doesn't know about those 4.0.27 changes yet. Feel free to pester them to add that in an upcoming Gradle release. For now, you can create a custom groovy task, sort of like where Grails is possibly headed: https://github.com/apache/grails-core/blob/groovydoc-tool-rewrite/buildSrc/src/m