July 2015
Intermediate to advanced
284 pages
5h 41m
English
Sonar is one of the most popular quality management tools which gives complete analysis of a project in terms of lines of code, documentation, test coverage, issues and complexities. Gradle provides seamless integration with Sonar. The only prerequisite is that sonar server should be installed and running. Details on Sonar can be found at http://www.sonarqube.org/.
To run sonar runner plugin, we just need to apply plugin sonar-runner and configure it to connect to the sonar server.
Create build file build_sonar.gradle for your project with the following contents:
apply plugin: 'groovy' apply plugin: 'eclipse' apply plugin: "sonar-runner" repositories { mavenCentral() } version = '1.0' sonarRunner { sonarProperties { property ...Read now
Unlock full access