Package: org.gradle.api.sonar.runner

## [Groovy] Class SonarRunner

- org.gradle.api.sonar.runner.SonarRunner

- Analyses one or more projects with the Sonar Runner. Can be used with or without the `sonar-runner` plugin. If used together with the plugin, `sonarProperties` will be populated with defaults based on Gradle's object model and user-defined values configured via SonarRunnerExtension. If used without the plugin, all properties have to be configured manually.

  For more information on how to configure the Sonar Runner, and on which properties are available, see the Sonar Runner documentation.

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `Properties` | `sonarProperties` The String key/value pairs to be passed to the Sonar Runner.

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `void` | `run()`

- - ### Property Detail

    - #### Properties sonarProperties

      The String key/value pairs to be passed to the Sonar Runner. `null` values are not permitted.

  - ### Method Detail

    - #### @TaskAction void run()