I confirm the problem with 7.4.0.8496, all our sonar tasks are failing since yesterday
Gradle 9.6.1 here
Task ':query:sonarResolver' uses this output of task ':query:processResources' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed
For more information, please refer to
in the Gradle documentation.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
Possible solutions:
1. Declare task ':query:processResources' as an input of ':query:sonarResolver'.
For more on this, please refer to
in the Gradle documentation.
2. Declare an explicit dependency on ':query:processResources' from ':query:sonarResolver' using Task#dependsOn.
34 actionable tasks: 22 executed, 12 from cache
3. Declare an explicit dependency on ':query:processResources' from ':query:sonarResolver' using Task#mustRunAfter.