We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This property is required in order to have config_loc variable set, for example to use it with SuppressionFilter module:
config_loc
<module name="SuppressionFilter"> <property name="file" value="${config_loc}/suppressions.xml"/> </module>
https://docs.gradle.org/current/dsl/org.gradle.api.plugins.quality.CheckstyleExtension.html#org.gradle.api.plugins.quality.CheckstyleExtension:configDirectory
FYI: as workaround I use afterEvaluate to pass configDirectory to Checkstyle and it works just fine
The text was updated successfully, but these errors were encountered:
f1a0872
checkstyle.configDirectory set to gradle/config/checkstyle/ (by default)
checkstyle.configDirectory
gradle/config/checkstyle/
Also, suppressions filter added to the default file:
<module name="SuppressionFilter"> <property name="file" value="${config_loc}/suppressions.xml"/> <property name="optional" value="true"/> </module>
(with optional=true to ignore absent file)
So it would be enough now to just drop custom suppressions.xml into gradle/config/checkstyle/ and it would be used automatically.
Sorry, something went wrong.
No branches or pull requests
This property is required in order to have
config_loc
variable set, for example to use it with SuppressionFilter module:https://docs.gradle.org/current/dsl/org.gradle.api.plugins.quality.CheckstyleExtension.html#org.gradle.api.plugins.quality.CheckstyleExtension:configDirectory
FYI: as workaround I use afterEvaluate to pass configDirectory to Checkstyle and it works just fine
The text was updated successfully, but these errors were encountered: