mirror of https://github.com/grpc/grpc-java.git
Move checkstyle config to buildscripts/
Checkstyle configuration is just noise in the root directory. Neither users nor developers need to look at it often.
This commit is contained in:
parent
ae66c72da3
commit
e6d0062d20
|
|
@ -24,7 +24,7 @@ subprojects {
|
||||||
apply plugin: "checkstyle"
|
apply plugin: "checkstyle"
|
||||||
|
|
||||||
checkstyle {
|
checkstyle {
|
||||||
configFile = file("$rootDir/../checkstyle.xml")
|
configFile = file("$rootDir/../buildscripts/checkstyle.xml")
|
||||||
toolVersion = "6.17"
|
toolVersion = "6.17"
|
||||||
ignoreFailures = false
|
ignoreFailures = false
|
||||||
if (rootProject.hasProperty("checkstyle.ignoreFailures")) {
|
if (rootProject.hasProperty("checkstyle.ignoreFailures")) {
|
||||||
|
|
|
||||||
|
|
@ -239,7 +239,7 @@ subprojects {
|
||||||
}
|
}
|
||||||
|
|
||||||
checkstyle {
|
checkstyle {
|
||||||
configFile = file("$rootDir/checkstyle.xml")
|
configFile = file("$rootDir/buildscripts/checkstyle.xml")
|
||||||
toolVersion = "6.17"
|
toolVersion = "6.17"
|
||||||
ignoreFailures = false
|
ignoreFailures = false
|
||||||
if (rootProject.hasProperty("checkstyle.ignoreFailures")) {
|
if (rootProject.hasProperty("checkstyle.ignoreFailures")) {
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
<property name="severity" value="error"/>
|
<property name="severity" value="error"/>
|
||||||
|
|
||||||
<module name="Header">
|
<module name="Header">
|
||||||
<property name="headerFile" value="${rootDir}/checkstyle.license"/>
|
<property name="headerFile" value="${rootDir}/buildscripts/checkstyle.license"/>
|
||||||
<property name="ignoreLines" value="2"/>
|
<property name="ignoreLines" value="2"/>
|
||||||
<property name="fileExtensions" value="java"/>
|
<property name="fileExtensions" value="java"/>
|
||||||
</module>
|
</module>
|
||||||
Loading…
Reference in New Issue