My package manager has the latest versions of maven and gradle. Ant is behind; upstream is up to 1.10.13 but my package manager only has 1.10.9.
maven 3.9.4: https://packages.gentoo.org/packages/dev-java/maven-bin
gradle 8.2.1: https://packages.gentoo.org/packages/dev-java/gradle-bin
ant 1.10.9 (upstream is 1.10.13): https://packages.gentoo.org/packages/dev-java/ant
Oddly there's no overlay that has a more up to date version of ant. So even if I did want to enter magic strings, that wouldn't have helped.
My package manager has the latest versions of maven and gradle. Ant is behind; upstream is up to 1.10.13 but my package manager only has 1.10.9.