Skip to content

Commit 72a3e16

Browse files
authored
Merge pull request #467 from hmcts/renovate/gradle-9.x
Update dependency gradle to v9
2 parents e049581 + 010ce80 commit 72a3e16

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

build.gradle

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -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 {
111111
pmd {
112112
toolVersion = "7.16.0"
113113
sourceSets = [sourceSets.main]
114-
reportsDir = file("$project.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

231231
repositories {
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

313315
bootJar {
314316
getArchiveFileName().set(provider {

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-all.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)