Hi,
I am keen to use the new javaVersion property added to GroovyDoc in Groovy 4.0.27 but cannot figure it out. According to the gradle documentation, “The version of the Groovydoc that is used, is the one from the Groovy dependency defined in the build script.” so i did this:
add compileOnly "org.apache.groovy:groovy-ant:4.0.27"
to dependencies
add a groovydoc config
groovydoc {
javaVersion = 'JAVA_21'
}
But gradle is unhappy with this:
Could not set unknown property ‘javaVersion’ for task ‘:matrix-spreadsheet:groovydoc’ of type org.gradle.api.tasks.javadoc.Groovydoc.
Any pointers how to get this working would be most appreciated!