diff --git a/build.gradle b/build.gradle index 597dec4..9091ade 100644 --- a/build.gradle +++ b/build.gradle @@ -46,6 +46,10 @@ test { checkstyle { toolVersion = '10.21.0' + configFile = file('config/checkstyle/checkstyle.xml') + configProperties = [ + 'suppressionFile': file('config/checkstyle/suppressions.xml').absolutePath + ] } tasks.named('jar', Jar) { diff --git a/config/checkstyle/checkstyle.xml b/config/checkstyle/checkstyle.xml index 59645dd..0737055 100644 --- a/config/checkstyle/checkstyle.xml +++ b/config/checkstyle/checkstyle.xml @@ -12,6 +12,10 @@ + + + + @@ -141,9 +145,10 @@ + - + @@ -159,7 +164,7 @@ - + diff --git a/config/checkstyle/suppressions.xml b/config/checkstyle/suppressions.xml new file mode 100644 index 0000000..d532e42 --- /dev/null +++ b/config/checkstyle/suppressions.xml @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + +