We updated to 4.4.1.3373 and now try to migrate to the new sonar.gradle.skipCompile behavior.
No matter how we set this property, we always get the deprecation warning while Gradle configuration.
The ‘sonar’ task depends on compile tasks. This behavior is now deprecated and will be removed in version 5.x. To avoid implicit compilation, set property ‘sonar.gradle.skipCompile’ to ‘true’ and make sure your project is compiled, before analysis has started.
Otherwise it seems like SonarQube Plugin is not able to find this property, even though it is set next to all the other properties in the SonarExtension block.
Even this is not working out in our Android multi module project. Already tried to set this property via properties.gradle and gradle command line argument. We still get the deprecation warning.
Edit: Thanks to this post I was able to make it work.
However, this property was supposed to be just for transition to make sure you stopped relying on the behavior of compiling implicitly. In version 5.0+ this property will disappear and there won’t be a dependency between the sonar task and compile* tasks.
We will try to apply the fix in the next minor release or drop the property completely in the next major release. Meanwhile, the workaround is to set the System property. Sorry for the inconvenience.