Groovy Documentation

org.gradle.api.plugins.sonar
[Groovy] Class SonarPlugin

java.lang.Object
  org.gradle.api.plugins.sonar.SonarPlugin
All Implemented Interfaces:
Plugin

class SonarPlugin
extends java.lang.Object

A plugin for integrating with Sonar, a web-based platform for managing code quality. Adds a task named sonarAnalyze that analyzes the project to which the plugin is applied and its subprojects. The results are stored in the Sonar database.

For more information, see the Sonar Plugin chapter in the Gradle user guide.

See Also:
SonarAnalyze
SonarRootModel
SonarProjectModel


Property Summary
static java.lang.String SONAR_ANALYZE_TASK_NAME

 
Method Summary
void apply(org.gradle.api.internal.project.ProjectInternal project)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

SONAR_ANALYZE_TASK_NAME

static final java.lang.String SONAR_ANALYZE_TASK_NAME


 
Method Detail

apply

void apply(org.gradle.api.internal.project.ProjectInternal project)


 

Groovy Documentation