1
1
buildscript {
2
+ ext {
3
+ flywayVersion = ' 10.17.3'
4
+ postgresqlVersion = ' 42.7.4'
5
+ }
2
6
dependencies {
3
- classpath(" org.postgresql:postgresql:42.7.3 " )
4
- classpath(" org.flywaydb:flyway-database-postgresql:10.13.0 " )
7
+ classpath(" org.postgresql:postgresql:$p ostgresqlVersion " ) // must be compatible with flyway version
8
+ classpath(" org.flywaydb:flyway-database-postgresql:$f lywayVersion " ) // flyway dependency/plugin versions must always match
5
9
}
6
10
}
7
11
@@ -11,8 +15,8 @@ plugins {
11
15
id ' pmd'
12
16
id ' jacoco'
13
17
id ' io.spring.dependency-management' version ' 1.1.6'
14
- id ' org.flywaydb.flyway' version ' 10.13.0 '
15
- id ' org.springframework.boot' version ' 3.2.7 '
18
+ id ' org.flywaydb.flyway' version " $f lywayVersion "
19
+ id ' org.springframework.boot' version ' 3.3.3 '
16
20
id ' org.owasp.dependencycheck' version ' 9.1.0'
17
21
id ' com.github.ben-manes.versions' version ' 0.51.0'
18
22
id ' org.sonarqube' version ' 4.4.1.3373'
@@ -234,7 +238,9 @@ def versions = [
234
238
junitPlatform : ' 1.9.2' ,
235
239
mockitoJupiter : ' 3.3.3' ,
236
240
reformLogging : ' 6.0.1' ,
237
- apiguardian : ' 1.1.2'
241
+ apiguardian : ' 1.1.2' ,
242
+ flyway : " $flywayVersion " ,
243
+ postgresql : " $postgresqlVersion "
238
244
]
239
245
240
246
@@ -262,14 +268,17 @@ dependencies {
262
268
exclude group : ' javax.mail' , module : ' mailapi'
263
269
}
264
270
265
- runtimeOnly group : ' org.flywaydb' , name : ' flyway-database-postgresql' , version : ' 10.13.0'
271
+ runtimeOnly group : ' org.flywaydb' , name : ' flyway-database-postgresql' , version : versions. flyway
272
+ implementation group : ' org.flywaydb' , name : ' flyway-core' , version : versions. flyway
273
+
274
+ implementation group : ' org.postgresql' , name : ' postgresql' , version : versions. postgresql
266
275
267
276
implementation group : ' net.javacrumbs.shedlock' , name : ' shedlock-spring' , version : ' 5.14.0'
268
277
implementation group : ' net.javacrumbs.shedlock' , name : ' shedlock-provider-jdbc' , version : ' 5.14.0'
269
278
270
279
implementation group : ' com.azure' , name : ' azure-storage-blob' , version : ' 12.25.4'
271
280
272
- implementation group : ' com.azure' , name : ' azure-messaging-servicebus' , version : ' 7.14.7 '
281
+ implementation group : ' com.azure' , name : ' azure-messaging-servicebus' , version : ' 7.17.3 '
273
282
274
283
implementation group : ' org.springframework.boot' , name : ' spring-boot-starter-web'
275
284
implementation group : ' org.springframework.boot' , name : ' spring-boot-starter-actuator'
@@ -281,14 +290,12 @@ dependencies {
281
290
implementation group : ' org.springframework.boot' , name : ' spring-boot-starter-activemq'
282
291
283
292
284
- implementation group : ' org.springframework.cloud' , name : ' spring-cloud-starter-openfeign' , version : ' 4.1.0 '
293
+ implementation group : ' org.springframework.cloud' , name : ' spring-cloud-starter-openfeign' , version : ' 4.1.3 '
285
294
implementation group : ' io.github.openfeign' , name : ' feign-httpclient' , version : ' 13.3'
286
295
implementation group : ' io.github.openfeign' , name : ' feign-jackson' , version : ' 13.3'
287
296
288
297
implementation group : ' com.github.java-json-tools' , name : ' json-schema-validator' , version : ' 2.2.14' , withoutJavaxMailApi
289
298
290
- implementation group : ' org.flywaydb' , name : ' flyway-core' , version : ' 10.13.0'
291
- implementation group : ' org.postgresql' , name : ' postgresql' , version : ' 42.7.3'
292
299
// review following dependency after integrating db structure
293
300
implementation group : ' io.hypersistence' , name : ' hypersistence-utils-hibernate-63' , version : ' 3.8.2'
294
301
@@ -308,10 +315,10 @@ dependencies {
308
315
implementation group : ' com.github.hmcts' , name : ' idam-java-client' , version : ' 3.0.3'
309
316
implementation group : ' com.github.hmcts' , name : ' ccd-case-document-am-client' , version : ' 1.59'
310
317
311
- implementation group : ' org.springframework.cloud' , name : ' spring-cloud-starter-bootstrap' , version : ' 3.1.8 '
318
+ implementation group : ' org.springframework.cloud' , name : ' spring-cloud-starter-bootstrap' , version : ' 3.1.9 '
312
319
313
320
314
- implementation group : ' org.apache.commons' , name : ' commons-lang3' , version : ' 3.14 .0'
321
+ implementation group : ' org.apache.commons' , name : ' commons-lang3' , version : ' 3.17 .0'
315
322
implementation group : ' commons-io' , name : ' commons-io' , version : ' 2.16.1'
316
323
// only used in uk.gov.hmcts.reform.bulkscanprocessor.validation.OcrValidator
317
324
// single import: io.vavr.control.Try
@@ -322,7 +329,7 @@ dependencies {
322
329
323
330
implementation group : ' io.github.resilience4j' , name : ' resilience4j-spring-boot2' , version : ' 2.2.0'
324
331
implementation group : ' com.launchdarkly' , name : ' launchdarkly-java-server-sdk' , version : ' 7.5.0'
325
- implementation group : ' com.google.guava' , name : ' guava' , version : ' 33.2.1 -jre'
332
+ implementation group : ' com.google.guava' , name : ' guava' , version : ' 33.3.0 -jre'
326
333
327
334
328
335
testImplementation libraries. junit5
@@ -334,9 +341,9 @@ dependencies {
334
341
testImplementation group : ' com.icegreen' , name : ' greenmail' , version : ' 1.6.15' , {
335
342
exclude group : ' junit' , module : ' junit'
336
343
}
337
- testImplementation group : ' org.apache.commons' , name : ' commons-email' , version : ' 1.5 '
344
+ testImplementation group : ' org.apache.commons' , name : ' commons-email' , version : ' 1.6.0 '
338
345
testImplementation group : ' io.github.netmikey.logunit' , name : ' logunit-core' , version : ' 2.0.0'
339
- testImplementation group : ' com.github.hmcts' , name : ' fortify-client' , version : ' 1.4.3 ' , classifier : ' all' , {
346
+ testImplementation group : ' com.github.hmcts' , name : ' fortify-client' , version : ' 1.4.4 ' , classifier : ' all' , {
340
347
exclude group : ' commons-io' , module : ' commons-io'
341
348
exclude group : ' org.apache.commons' , module : ' commons-lang3'
342
349
}
@@ -346,14 +353,14 @@ dependencies {
346
353
347
354
integrationTestImplementation sourceSets. main. runtimeClasspath
348
355
integrationTestImplementation sourceSets. test. runtimeClasspath
349
- integrationTestImplementation group : ' org.springframework.cloud' , name : ' spring-cloud-contract-wiremock' , version : ' 4.1.1 ' , {
356
+ integrationTestImplementation group : ' org.springframework.cloud' , name : ' spring-cloud-contract-wiremock' , version : ' 4.1.4 ' , {
350
357
exclude group : ' com.github.tomakehurst' , module : ' wiremock-jre8-standalone'
351
358
}
352
359
integrationTestImplementation group : ' org.wiremock' , name : ' wiremock-standalone' , version : ' 3.4.2'
353
360
integrationTestImplementation group : ' org.testcontainers' , name : ' postgresql' , version : ' 1.19.7' , {
354
361
exclude group : ' junit' , module : ' junit'
355
362
}
356
- integrationTestImplementation group : ' org.testcontainers' , name : ' junit-jupiter' , version : ' 1.19.7 '
363
+ integrationTestImplementation group : ' org.testcontainers' , name : ' junit-jupiter' , version : ' 1.20.1 '
357
364
integrationTestImplementation group : ' com.revinate' , name : ' assertj-json' , version : ' 1.2.0'
358
365
359
366
functionalTestImplementation sourceSets. main. runtimeClasspath
0 commit comments