org.gradle.api.plugins.sonar
[Groovy] Class SonarPlugin
java.lang.Object
org.gradle.api.plugins.sonar.SonarPlugin
- All Implemented Interfaces:
- Plugin
class SonarPlugin
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
SONAR_ANALYZE_TASK_NAME
static final String SONAR_ANALYZE_TASK_NAME
-
SonarPlugin
@Inject
SonarPlugin(Instantiator instantiator)
-
apply
void apply(ProjectInternal project)
-
Gradle API 1.12