Silence gradle/maven detection warnings

We are using the github action because of company setup, in the lastest update of the sonarqube-scan-action, a warning is being showed on every run, because it’s detecting the project is Gradle project.
It would be great to be able to pass a parameter to silence that warning, because it’s creating noise on each build, and we cannot/want not move to the gradle plugin.
It could be something like

with:   
  detect-gradle: false
  detect-maven: false