Is it possible to change the version of Groovydoc ...
# community-support
j
Is it possible to change the version of Groovydoc that Gradle runs when you run the groovydoc task?
v
So you want to use a different GroovyDoc version than the Groovy version you use?
j
Yes
Mostly to pick up fixes related to having a reproducible build - so that the groovydoc is generated the same way , in the same order, with the same field listings
v
Set the
groovyClasspath
on the task
j
Is there a way to verify it actually runs with that?
v
I don't get the question
j
I was hoping to find a way to prove it ran with that version - we were building groovy snapshots to debug and we aren't convinced it's running with them.
v
Does Groovydoc maybe output the used version somewhere?
🎯 1
j
I see that GroovydocAntAction has a getVersion on it, but it's static, so i assume invoking that would just give me gradle's version
v
If not, set a breakpoint and check what happens with which classes
j
Thank you. Next up, debugging!
👌 1
v
Or maybe debug log shows something 🤷‍♂️
👍 1