@@ -5,7 +5,7 @@ import com.vanniktech.maven.publish.DeploymentValidation
55plugins {
66 id(" java" )
77 id(" java-library" )
8- kotlin(" jvm" ) version " 2.3.0 "
8+ kotlin(" jvm" ) version " 2.3.10 "
99 id(" com.vanniktech.maven.publish" ) version " 0.36.0"
1010}
1111
@@ -30,28 +30,29 @@ tasks.named("build") {
3030dependencies {
3131 api(" org.slf4j:slf4j-api:2.0.17" ) // logging api
3232
33- implementation(" org.postgresql:postgresql:42.7.9 " )
33+ implementation(" org.postgresql:postgresql:42.7.10 " )
3434 implementation(" com.zaxxer:HikariCP:7.0.2" ) // Connection pool
35- implementation(" com.fasterxml.jackson.core:jackson-databind:2.20 .1" ) // json
36- implementation(" com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.20 .1" )
35+ implementation(" com.fasterxml.jackson.core:jackson-databind:2.21 .1" ) // json
36+ implementation(" com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.21 .1" )
3737 implementation(" com.cronutils:cron-utils:9.2.1" ) // cron for scheduled wf
38- implementation(" io.netty:netty-all:4.1.130 .Final" ) // netty for websocket
38+ implementation(" io.netty:netty-all:4.2.10 .Final" ) // netty for websocket
3939
4040 compileOnly(" org.jspecify:jspecify:1.0.0" )
4141
42- testImplementation(platform(" org.junit:junit-bom:6.0.2 " ))
42+ testImplementation(platform(" org.junit:junit-bom:6.0.3 " ))
4343 testImplementation(" org.junit.jupiter:junit-jupiter" )
4444 testImplementation(" org.junit-pioneer:junit-pioneer:2.3.0" )
4545 testImplementation(" uk.org.webcompere:system-stubs-jupiter:2.1.8" )
4646 testRuntimeOnly(" org.junit.platform:junit-platform-launcher" )
4747
4848 testImplementation(" org.java-websocket:Java-WebSocket:1.6.0" )
49- testImplementation(" ch.qos.logback:logback-classic:1.5.24 " )
50- testImplementation(" org.mockito:mockito-core:5.21 .0" )
49+ testImplementation(" ch.qos.logback:logback-classic:1.5.32 " )
50+ testImplementation(" org.mockito:mockito-core:5.22 .0" )
5151 testImplementation(" io.rest-assured:rest-assured:6.0.0" )
5252 testImplementation(" io.rest-assured:json-path:6.0.0" )
5353 testImplementation(" io.rest-assured:xml-path:6.0.0" )
54- testImplementation(" org.apache.maven:maven-artifact:3.9.12" )
54+ testImplementation(" org.apache.maven:maven-artifact:3.9.13" )
55+ testImplementation(" org.testcontainers:testcontainers-postgresql:2.0.3" )
5556}
5657
5758val projectVersion = project.version.toString()
@@ -69,17 +70,22 @@ tasks.test {
6970 testLogging {
7071 events(" passed" , " skipped" , " failed" )
7172 showStandardStreams = true
72-
73- afterSuite(KotlinClosure2 ({ desc: TestDescriptor , result: TestResult ->
74- if (desc.parent == null ) {
73+ }
74+
75+ addTestListener(object : TestListener {
76+ override fun beforeSuite (suite : TestDescriptor ) {}
77+ override fun beforeTest (testDescriptor : TestDescriptor ) {}
78+ override fun afterTest (testDescriptor : TestDescriptor , result : TestResult ) {}
79+ override fun afterSuite (suite : TestDescriptor , result : TestResult ) {
80+ if (suite.parent == null ) {
7581 println (" \n Test Results:" )
7682 println (" Tests run: ${result.testCount} " )
7783 println (" Passed: ${result.successfulTestCount} " )
7884 println (" Failed: ${result.failedTestCount} " )
7985 println (" Skipped: ${result.skippedTestCount} " )
8086 }
81- }))
82- }
87+ }
88+ })
8389}
8490
8591tasks.withType<KotlinCompile >().configureEach {
0 commit comments