Requires upgrading buildSrc in 5.8.x to use JDK 17 due to spring-security-release-plugin built against JDK 17.

Related gh-14242