diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle index 6796b7b..60876c8 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,7 @@ plugins { - id 'application' + id 'application' id 'jacoco' + id 'checkstyle' } application { @@ -44,6 +45,7 @@ dependencies { } test { + dependsOn checkstyleMain useJUnitPlatform() finalizedBy jacocoTestReport } @@ -65,3 +67,11 @@ jacocoTestReport { }) } } + +tasks.withType(Checkstyle) { + reports { + xml.required = false + html.required = true + configFile file('checkstyle.xml') + } +} |