Package org.gradle.api.plugins.quality
Klasse CodeQualityExtension
java.lang.Object
org.gradle.api.plugins.quality.CodeQualityExtension
- Bekannte direkte Unterklassen:
CheckstyleExtension,CodeNarcExtension,PmdExtension
Base Code Quality Extension.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThe directory where reports will be generated.The source sets to be analyzed as part of thecheckandbuildtasks.The version of the code quality tool to be used.booleanWhether to allow the build to continue if there are warnings.voidsetIgnoreFailures(boolean ignoreFailures) Whether to allow the build to continue if there are warnings.voidsetReportsDir(File reportsDir) The directory where reports will be generated.voidsetSourceSets(Collection<SourceSet> sourceSets) The source sets to be analyzed as part of thecheckandbuildtasks.voidsetToolVersion(String toolVersion) The version of the code quality tool to be used.
-
Konstruktordetails
-
CodeQualityExtension
public CodeQualityExtension()
-
-
Methodendetails
-
getToolVersion
The version of the code quality tool to be used. -
setToolVersion
The version of the code quality tool to be used. -
getSourceSets
The source sets to be analyzed as part of thecheckandbuildtasks. -
setSourceSets
The source sets to be analyzed as part of thecheckandbuildtasks. -
isIgnoreFailures
public boolean isIgnoreFailures()Whether to allow the build to continue if there are warnings. Example: ignoreFailures = true -
setIgnoreFailures
public void setIgnoreFailures(boolean ignoreFailures) Whether to allow the build to continue if there are warnings. Example: ignoreFailures = true -
getReportsDir
The directory where reports will be generated. -
setReportsDir
The directory where reports will be generated.
-