Skip to content
New issue

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

Update Checkstyle and JaCoCo to fix build #637

Merged
merged 6 commits into from May 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 3 additions & 7 deletions .infra/checkstyle/checkstyle.xml
Expand Up @@ -3,18 +3,14 @@

<module name="Checker">
<module name="SuppressionFilter">
<property name="file" value="${config_loc}/suppressions.xml"/>
<property name="file" value="${config_loc}/suppressions.xml" />
</module>
<property name="severity" value="error" />
<module name="TreeWalker">
<module name="SuppressWarningsHolder" />
<module name="JavadocMethod">
<property name="allowMissingJavadoc" value="true" />
<property name="allowMissingParamTags" value="true" />
<property name="allowMissingReturnTag" value="true" />
<property name="allowMissingThrowsTags" value="true" />
<property name="allowUndeclaredRTE" value="true" />
<property name="validateThrows" value="true" />
</module>
<module name="AtclauseOrder">
<property name="tagOrder" value="@param, @return, @throws, @exception, @since, @author, @see" />
Expand All @@ -25,12 +21,12 @@
</module>
<module name="AvoidStarImport" />
<module name="ImportControl">
<property name="file" value="${config_loc}/import-control.xml"/>
<property name="file" value="${config_loc}/import-control.xml" />
</module>
</module>
<module name="JavadocPackage" />
<module name="SuppressWarningsFilter" />
<module name="BeforeExecutionExclusionFileFilter">
<property name="fileNamePattern" value="module\-info\.java$"/>
<property name="fileNamePattern" value="module\-info\.java$" />
</module>
</module>
4 changes: 2 additions & 2 deletions build.gradle.kts
Expand Up @@ -90,7 +90,7 @@ spotless {
}

checkstyle {
toolVersion = "7.8.2"
toolVersion = "10.2"
configDirectory.set(rootProject.file(".infra/checkstyle"))
}

Expand All @@ -100,7 +100,7 @@ yamlValidator {
}

jacoco {
toolVersion = "0.8.7"
toolVersion = "0.8.8"
}

sonarqube {
Expand Down