diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle index 7e1585d..38d2974 100644 --- a/build.gradle +++ b/build.gradle @@ -107,9 +107,14 @@ jar { from "CREDITS.txt", "LICENSE" } -checkstyle { - configFile = file('checkstyle.xml') - toolVersion = '10.9.2' +allprojects { + apply plugin: 'checkstyle' + + checkstyle { + configFile = rootProject.file('checkstyle.xml') + configProperties = [suppressions: rootProject.file('checkstyle.suppressions.xml').absolutePath] + toolVersion = '10.9.2' + } } evaluationDependsOn(':javadoc') |