sonar.java.jdkHome property does not solve

Yep, I understand that is a fundamental issue with my project setup and build.gradle with Java 11. I was moreso asking if the sonarqube task can be cutomized with Task Configuration Avoidance to avoid the :compileJava and :compileTestJava tasks all together.