I have updated Sonar
to the 4.5.1 LTS version, and now in my gradle task i have got the following error and can\'t fix it:
Fail to download lib
As a work around, i've installed sonar-runner, and analyzing my gradle project now via sonar-runner 2.4.
Recent Sonar versions require Gradle 2.2. (2.1 might also work but I'm not sure.)
As said before, recent SonarQube versions need Gradle 2.2 on client side.
If you cannot or do not want to update your used Gradle version, you can easily copy the Gradle Sonar Runner plugin to your buildSrc project with some slight modifications to not depend on Gradle Injection which does not work for a custom plugin.
I just did this for our project that is still using Gradle 1.12 and it works great.