@@ -4,10 +4,10 @@ import org.gradle.api.tasks.testing.logging.TestLogEvent
44plugins {
55 application
66 // "checkstyle"
7- id(" io.freefair.lombok" ) version " 8.6 "
8- id(" org.springframework.boot" ) version " 3.2.4 "
9- id(" io.spring.dependency-management" ) version " 1.1.4 "
10- id(" com.github.ben-manes.versions" ) version " 0.50 .0"
7+ id(" io.freefair.lombok" ) version " 8.11 "
8+ id(" org.springframework.boot" ) version " 3.3.5 "
9+ id(" io.spring.dependency-management" ) version " 1.1.6 "
10+ id(" com.github.ben-manes.versions" ) version " 0.51 .0"
1111}
1212
1313group = " io.hexlet.blog"
@@ -30,23 +30,29 @@ dependencies {
3030 implementation(" org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2.0" )
3131
3232 implementation(" org.openapitools:jackson-databind-nullable:0.2.6" )
33- implementation(" org.mapstruct:mapstruct:1.6.0.Beta1 " )
34- annotationProcessor(" org.mapstruct:mapstruct-processor:1.6.0.Beta1 " )
33+ implementation(" org.mapstruct:mapstruct:1.6.3 " )
34+ annotationProcessor(" org.mapstruct:mapstruct-processor:1.6.3 " )
3535
3636 // implementation("io.github.wimdeblauwe:error-handling-spring-boot-starter:4.2.0")
3737
38- implementation(" org.instancio:instancio-junit:3.6.0 " )
39- implementation(" net.javacrumbs.json-unit:json-unit-assertj:3.2.2 " )
40- implementation(" net.datafaker:datafaker:2.0 .2" )
38+ implementation(" org.instancio:instancio-junit:5.0.2 " )
39+ implementation(" net.javacrumbs.json-unit:json-unit-assertj:4.0.0 " )
40+ implementation(" net.datafaker:datafaker:2.4 .2" )
4141
42- runtimeOnly(" com.h2database:h2:2.2.224 " )
42+ runtimeOnly(" com.h2database:h2:2.3.232 " )
4343 testImplementation(" org.springframework.security:spring-security-test" )
4444 testImplementation(" org.springframework.boot:spring-boot-starter-test" )
45- testImplementation(platform(" org.junit:junit-bom:5.10.1" ))
46- testImplementation(" org.junit.jupiter:junit-jupiter:5.10.1" )
47-
45+ testImplementation(platform(" org.junit:junit-bom:5.11.3" ))
46+ testImplementation(" org.junit.jupiter:junit-jupiter:5.11.3" )
4847}
4948
49+ // spotless {
50+ // java {
51+ // // Use the default importOrder configuration
52+ // importOrder()
53+ // }
54+ // }
55+
5056tasks.test {
5157 useJUnitPlatform()
5258 // https://technology.lastminute.com/junit5-kotlin-and-gradle-dsl/
0 commit comments