diff --git a/build.gradle b/build.gradle
index feb0dc32..9bdb1f71 100644
--- a/build.gradle
+++ b/build.gradle
@@ -62,11 +62,12 @@ protobuf {
}
}
-def checkstyleOutputDir = "${project.rootDir}/build/reports/checkstyle/"
+def checkstyleOutputDir = "${project.projectDir}/build/reports/checkstyle/"
checkstyle {
toolVersion = '7.0'
- configFile = file("${project.rootDir}/config/checkstyle.xml")
+ configFile = file("${project.projectDir}/config/checkstyle.xml")
+ configProperties = [ "suppressionFile" : file("${project.projectDir}/config/suppressions.xml")]
reportsDir = file(checkstyleOutputDir)
ignoreFailures = false
@@ -115,4 +116,4 @@ task sourcesJar(type: Jar) {
artifacts {
archives sourcesJar
-}
\ No newline at end of file
+}
diff --git a/config/checkstyle.xml b/config/checkstyle.xml
index 3568be96..d791a10d 100644
--- a/config/checkstyle.xml
+++ b/config/checkstyle.xml
@@ -16,7 +16,7 @@
-
+
@@ -204,4 +204,4 @@
-
\ No newline at end of file
+