@@ -3,21 +3,21 @@ plugins {
33 id ' checkstyle'
44 id ' jacoco'
55 id ' java'
6- id " io.freefair.lombok" version " 6.6.3 "
6+ id " io.freefair.lombok" version " 8.10.2 "
77 id ' io.spring.dependency-management' version ' 1.1.0'
8- id ' org.springframework.boot' version ' 2.7.12 '
8+ id ' org.springframework.boot' version ' 2.7.18 '
99 id ' com.github.kt3k.coveralls' version ' 2.12.2'
10- id ' com.github.ben-manes.versions' version ' 0.46 .0'
11- id ' org.sonarqube' version ' 3.5.0.2730 '
12- id ' uk.gov.hmcts.java' version ' 0.12.43 '
10+ id ' com.github.ben-manes.versions' version ' 0.51 .0'
11+ id ' org.sonarqube' version ' 5.1.0.4882 '
12+ id ' uk.gov.hmcts.java' version ' 0.12.63 '
1313}
1414
1515group = ' uk.gov.hmcts.reform'
1616version = ' 0.0.1'
1717
1818java {
1919 toolchain {
20- languageVersion = JavaLanguageVersion . of(17 )
20+ languageVersion = JavaLanguageVersion . of(21 )
2121 }
2222}
2323
@@ -98,7 +98,7 @@ task integration(type: Test) {
9898}
9999
100100task fortifyScan (type : JavaExec ) {
101- main = " uk.gov.hmcts.fortifyclient.FortifyClientMainApp"
101+ mainClass = " uk.gov.hmcts.fortifyclient.FortifyClientMainApp"
102102 classpath + = sourceSets. test. runtimeClasspath
103103 jvmArgs = [' --add-opens=java.base/java.lang.reflect=ALL-UNNAMED' ]
104104}
@@ -120,7 +120,7 @@ jacocoTestReport {
120120 reports {
121121 xml. required = true
122122 csv. required = false
123- xml. destination file(" ${ buildDir} /reports/jacoco/test/jacocoTestReport.xml" )
123+ xml. outputLocation = file(" ${ buildDir} /reports/jacoco/test/jacocoTestReport.xml" )
124124 }
125125}
126126
@@ -132,7 +132,7 @@ sonarqube {
132132 property " sonar.projectName" , " ccd-case-migration-starter"
133133 property " sonar.projectKey" , " ccd-case-migration-starter"
134134 property " sonar.exclusions" , " **/exception/*.java,**/domain/*.java,**/common/*.java,**/migration/auth/AuthTokenGeneratorConfiguration.java,**/migration/CaseMigrationRunner.java,**/ccd/HttpMessageConverterConfiguration.java"
135- property " sonar.coverage.jacoco.xmlReportPaths" , " ${ jacocoTestReport.reports.xml.destination.path } "
135+ property " sonar.coverage.jacoco.xmlReportPaths" , " ${ jacocoTestReport.reports.xml.outputLocation } "
136136 }
137137}
138138
@@ -163,7 +163,7 @@ repositories {
163163ext {
164164 log4JVersion = " 2.20.0"
165165 restAssuredVersion = ' 4.3.0!!'
166- lombokVersion = " 1.18.28 "
166+ lombokVersion = " 1.18.34 "
167167 junit_version = " 4.12"
168168 junitJupiterVersion = ' 5.9.3'
169169 junitVintageVersion = ' 5.9.3'
@@ -246,7 +246,9 @@ dependencyManagement {
246246 }
247247}
248248
249- mainClassName = ' uk.gov.hmcts.reform.migration.CaseMigrationRunner'
249+ application {
250+ mainClass = ' uk.gov.hmcts.reform.migration.CaseMigrationRunner'
251+ }
250252
251253bootJar {
252254 archiveFileName = ' ccd-case-migration.jar'
@@ -284,7 +286,7 @@ test {
284286 }
285287
286288 reports {
287- html. enabled = true
289+ html. required = true
288290 }
289291
290292 jvmArgs = [
@@ -297,4 +299,3 @@ test {
297299 ' --add-opens' , ' jdk.management/com.sun.management.internal=ALL-UNNAMED'
298300 ]
299301}
300-
0 commit comments