11import com.moowork.gradle.node.yarn.YarnTask
2+ import org.gradle.api.tasks.testing.logging.TestExceptionFormat
3+ import org.gradle.api.tasks.testing.logging.TestLogEvent
24import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
35
46plugins {
5- id(" org.springframework.boot" ) version " 2.3.3.RELEASE "
7+ id(" org.springframework.boot" ) version " 2.4.1 "
68 id(" io.spring.dependency-management" ) version " 1.0.10.RELEASE"
79 id(" com.moowork.node" ) version " 1.3.1"
8- id(" org.flywaydb.flyway" ) version " 7.0.0 "
10+ id(" org.flywaydb.flyway" ) version " 7.3.2 "
911 id(" org.sonarqube" ) version " 3.0"
1012
11- id (" org.jetbrains.kotlin.plugin.jpa" ) version " 1.4.10 "
12- id (" org.jetbrains.kotlin.plugin.noarg" ) version " 1.4.10 "
13- kotlin(" jvm" ) version " 1.4.10 "
14- kotlin(" plugin.spring" ) version " 1.4.10 "
13+ id (" org.jetbrains.kotlin.plugin.jpa" ) version " 1.4.21 "
14+ id (" org.jetbrains.kotlin.plugin.noarg" ) version " 1.4.21 "
15+ kotlin(" jvm" ) version " 1.4.21 "
16+ kotlin(" plugin.spring" ) version " 1.4.21 "
1517
1618 id(" com.github.ben-manes.versions" ) version " 0.33.0" // helps find latest dependency versions `./gradlew dependencyUpdates`
1719}
@@ -40,26 +42,26 @@ repositories {
4042 maven { url = uri(" https://repo.spring.io/snapshot" ) }
4143}
4244
43- var springSecurityVersion = " 5.3.4.RELEASE " // TODO upgrade to 5.4.0
44- var springBootVersion = " 2.3.3.RELEASE "
45+ var springSecurityVersion = " 5.4.2 "
46+ var springBootVersion = " 2.4.1 "
4547var keycloakVersion = " 11.0.0"
46- var jacksonVersion = " 2.11.3 "
47- var jetBrainsKotlin = " 1.4.10 "
48+ var jacksonVersion = " 2.12.0 "
49+ var jetBrainsKotlin = " 1.4.21 "
4850
4951dependencies {
5052 implementation(" org.springframework.boot:spring-boot-starter-data-jpa:${springBootVersion} " )
5153 implementation(" org.springframework.boot:spring-boot-starter-web:${springBootVersion} " )
5254 implementation(" org.springframework.boot:spring-boot-starter-actuator:${springBootVersion} " )
5355 implementation(" org.springframework.boot:spring-boot-starter-websocket:${springBootVersion} " )
54- implementation(" org.flywaydb:flyway-core:6.5 .2" )
56+ implementation(" org.flywaydb:flyway-core:7.3 .2" )
5557
5658 // Deserialize json
5759 implementation(" com.fasterxml.jackson.module:jackson-module-kotlin:${jacksonVersion} " )
5860 implementation(" com.fasterxml.jackson.module:jackson-module-paranamer:${jacksonVersion} " )
5961
6062 implementation(" org.jetbrains.kotlin:kotlin-reflect:${jetBrainsKotlin} " )
6163 implementation(" org.jetbrains.kotlin:kotlin-stdlib-js:${jetBrainsKotlin} " )
62- implementation(" jakarta.persistence:jakarta.persistence-api:2.2.3 " )
64+ implementation(" jakarta.persistence:jakarta.persistence-api:3.0.0 " )
6365
6466 // SSO - Security
6567 implementation(" org.springframework.boot:spring-boot-starter-security:${springBootVersion} " )
@@ -71,14 +73,14 @@ dependencies {
7173 implementation(" org.springframework.security:spring-security-oauth2-jose:${springSecurityVersion} " )
7274 implementation(" org.springframework.security:spring-security-oauth2-resource-server:${springSecurityVersion} " )
7375 implementation(" org.springframework.security.oauth:spring-security-oauth2:2.5.0.RELEASE" )
74- implementation(" org.springframework.session:spring-session-jdbc:2.3.0.RELEASE " )
76+ implementation(" org.springframework.session:spring-session-jdbc:2.4.1 " )
7577
76- implementation(" org.hibernate.validator:hibernate-validator-cdi:6.1.5 .Final" )
78+ implementation(" org.hibernate.validator:hibernate-validator-cdi:7.0.0 .Final" )
7779
78- runtimeOnly(" org.postgresql:postgresql:42.2.16 " )
80+ runtimeOnly(" org.postgresql:postgresql:42.2.18 " )
7981
8082 testImplementation(" org.springframework.boot:spring-boot-starter-test:${springBootVersion} " )
81- testImplementation(" io.mockk:mockk:1.10.2 " )
83+ testImplementation(" io.mockk:mockk:1.10.4 " )
8284}
8385
8486tasks.withType<KotlinCompile > {
@@ -94,12 +96,12 @@ tasks.withType<Test> {
9496 testLogging {
9597 info {
9698 events(
97- org.gradle.api.tasks.testing.logging. TestLogEvent .STARTED ,
98- org.gradle.api.tasks.testing.logging. TestLogEvent .FAILED ,
99- org.gradle.api.tasks.testing.logging. TestLogEvent .PASSED ,
100- org.gradle.api.tasks.testing.logging. TestLogEvent .SKIPPED
99+ TestLogEvent .STARTED ,
100+ TestLogEvent .FAILED ,
101+ TestLogEvent .PASSED ,
102+ TestLogEvent .SKIPPED
101103 )
102- exceptionFormat = org.gradle.api.tasks.testing.logging. TestExceptionFormat .FULL
104+ exceptionFormat = TestExceptionFormat .FULL
103105 showStandardStreams = true
104106 showCauses = true
105107 showStackTraces = true
0 commit comments