@@ -8,7 +8,7 @@ plugins {
88 id ' com.github.ben-manes.versions' version ' 0.52.0'
99 id ' org.owasp.dependencycheck' version ' 12.1.3'
1010 id ' org.sonarqube' version ' 6.3.1.5724'
11- id ' info.solidsoft.pitest' version ' 1.15.0 '
11+ id ' info.solidsoft.pitest' version ' 1.19.0-rc.1 '
1212 id ' java'
1313 id ' jvm-test-suite'
1414}
@@ -111,7 +111,7 @@ checkstyle {
111111pmd {
112112 toolVersion = " 7.16.0"
113113 sourceSets = [sourceSets. main]
114- reportsDir = file( " $p roject . buildDir / reports/pmd" )
114+ reportsDir = layout . buildDirectory . dir( " reports/pmd" ). get() . asFile
115115 // https://github.com/pmd/pmd/issues/876
116116 ruleSets = []
117117 ruleSetFiles = files(" config/pmd/ruleset.xml" )
@@ -130,7 +130,7 @@ jacocoTestReport {
130130 reports {
131131 xml. required = true
132132 csv. required = false
133- xml. destination file(" ${ buildDir } / reports/jacoco/test/jacocoTestReport.xml" )
133+ xml. outputLocation . set(layout . buildDirectory . file(" reports/jacoco/test/jacocoTestReport.xml" ) )
134134 }
135135}
136136
@@ -230,7 +230,7 @@ dependencyManagement {
230230
231231repositories {
232232 mavenLocal()
233- maven {
233+ maven {
234234 name = " AzureArtifacts"
235235 url = uri(" https://pkgs.dev.azure.com/hmcts/Artifacts/_packaging/hmcts-lib/maven/v1" )
236236 }
@@ -308,7 +308,9 @@ dependencies {
308308
309309}
310310
311- mainClassName = ' uk.gov.hmcts.reform.wastandalonetaskbpmn.Application'
311+ application {
312+ mainClass = ' uk.gov.hmcts.reform.wastandalonetaskbpmn.Application'
313+ }
312314
313315bootJar {
314316 getArchiveFileName(). set(provider {
0 commit comments