[GRADLE-888] Gradle Integration with Sonar Created: 03/Apr/10 Updated: 04/Jan/13 Resolved: 20/Mar/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | None |
Fix Version/s: | 1.0-milestone-2 |
Type: | New Feature | ||
Reporter: | Pratik Parikh | Assignee: | Peter Niederwieser |
Resolution: | Fixed | Votes: | 33 |
Description |
It would be nice to have gradle integrate with sonar, currently there is no way this can be done. I have tried integrating gradle + hudson + sonar by means of hudson plugin configuration but that just does not work. Please see if this could be done, i would assume it could be big plus. |
Comments |
Comment by Gregory Boissinot [ 04/Apr/10 ] |
Sonar is deeply coupled with Maven. It would be great whether Sonar uses Gradle for launching metrics tools and for recording the genrated XML files (In addtion, Gradle makes its possible to use the Maven conventions, and it's easier) Therefore this issue is not a Gradle issue but a Sonar issue. |
Comment by Hans Dockter [ 17/Apr/10 ] |
As Gregory pointed out, there is not a good way yet to integrate Sonar with Gradle. But it is definitely something we would like to offer at one point once Sonar is a little bit more build tool agnostic. |
Comment by Simon Brandhof [ 12/May/10 ] |
We're working hard to decrease the coupling of Sonar with Maven. I hope the integration with alternate build tools like ant or gradle will be possible with versions 2.3 or 2.4. |
Comment by Adam Murdoch [ 12/May/10 ] |
We definitely want to add support for coverage tools. Ideally, several would be supported, and you could choose which particular tool you want to use for a build. We could start with cobertura, if that helps Sonar integration. |
Comment by Narcisa Pantilimon [ 21/Dec/10 ] |
Any news about this integration? |
Comment by Simon Brandhof [ 21/Dec/10 ] |
Sonar 2.6 will allow to develop this gradle bootstrap. It is planned for February. |
Comment by Pratik Parikh [ 11/Mar/11 ] |
Thanks for providing this enhancement. I will test it out and will let you guys know. |