diff --git a/build.gradle b/build.gradle index ea70b117..49769d99 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,7 @@ plugins { id 'java' id 'jacoco' + id 'application' } group = 'hhn.temp.project' @@ -51,4 +52,10 @@ jacocoTestReport { csv.required = false html.outputLocation.set(layout.buildDirectory.dir('jacocoHtml')) } +} +jacocoTestCoverageVerification { + dependsOn test +} +application { + mainClass = "hhn.temp.project.Main" } \ No newline at end of file