Android Java 17 scanner crash

Hi,
Yes in build.gradle
Yes, it is the same problem. The workaround setting sonar.java.jdkHome to java 8, I read it in that thread.

about sourceCompatibility looks like is not that simple to roll back, there are more chances in the code and I can not just change the sourceCompatibility to java 8. Also because our business I am lock in Java 11 compatibility.

Yes, I do have further questions:

Is this a good practice?
Would I get the correct deprecation warnings?
is there any other workaround?
Are you planning any other solution?

This looks to be a very well documented problem because googling sonarclour/sonarqube android the first page is ppl asking about this.
Thanks