abstract class CodeQualityExtension
Base Code Quality Extension.
CodeQualityExtension()
Base Code Quality Extension. |
open fun getReportsDir(): File
The directory where reports will be generated. |
|
open fun getSourceSets(): MutableCollection<SourceSet>
The source sets to be analyzed as part of the check and build tasks. |
|
open fun getToolVersion(): String
The version of the code quality tool to be used. |
|
open fun isIgnoreFailures(): Boolean
Whether to allow the build to continue if there are warnings. Example: ignoreFailures = true |
|
open fun setIgnoreFailures(ignoreFailures: Boolean): Unit
Whether to allow the build to continue if there are warnings. Example: ignoreFailures = true |
|
open fun setReportsDir(reportsDir: File): Unit
The directory where reports will be generated. |
|
open fun setSourceSets(sourceSets: MutableCollection<SourceSet>): Unit
The source sets to be analyzed as part of the check and build tasks. |
|
open fun setToolVersion(toolVersion: String): Unit
The version of the code quality tool to be used. |
open class CheckstyleExtension : CodeQualityExtension
Configuration options for the Checkstyle plugin. |
|
open class CodeNarcExtension : CodeQualityExtension
Configuration options for the CodeNarc plugin. |
|
open class FindBugsExtension : CodeQualityExtension
Configuration options for the FindBugs plugin. All options have sensible defaults. See the FindBugs Manual for additional information on these options. Below is a full configuration example. Since all properties have sensible defaults, typically only selected properties will be configured.
|
|
open class JDependExtension : CodeQualityExtension
Configuration options for the JDepend plugin. |
|
open class PmdExtension : CodeQualityExtension
Configuration options for the PMD plugin. |