plugins { id 'java' id 'checkstyle' id 'jacoco' } group = 'com.example' version = '1.0-SNAPSHOT' repositories { mavenCentral() } dependencies { testImplementation 'org.junit.jupiter:junit-jupiter-api:5.10.0' testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.10.0' } test { useJUnitPlatform() finalizedBy jacocoTestReport } jacocoTestReport { dependsOn test reports { xml.required = true html.required = true } } checkstyle { toolVersion = '10.12.4' configFile = file('config/checkstyle/checkstyle.xml') ignoreFailures = false }