提交 dfd29c77 编写于 作者: S Sam Judd

Fix checkstyle config in Intellij

上级 69aee752
......@@ -27,6 +27,7 @@ subprojects { project ->
checkstyle {
configFile = new File(rootDir, 'checkstyle.xml')
configProperties.checkStyleConfigDir = rootProject.rootDir
}
task checkstyle(type: Checkstyle) {
......
......@@ -5,7 +5,7 @@
<module name="FileTabCharacter"/>
<module name="SuppressionFilter">
<property name="file" value="checkstyle_suppressions.xml" />
<property name="file" value="${checkStyleConfigDir}/checkstyle_suppressions.xml" />
</module>
<!-- Trailing spaces -->
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册