SonarQube Scanner for Gradle fails with Java 17

A post was split to a new topic: Problems parsing Java 17 with Gradle