11plugins {
2- id " org.springframework.boot" version " 2.7 .5"
3- id " io.spring.dependency-management" version " 1.1.0 "
2+ id " org.springframework.boot" version " 3.4 .5"
3+ id " io.spring.dependency-management" version " 1.1.4 "
44 id " io.freefair.maven-publish-java" version " 6.5.1"
55 id " com.github.kt3k.coveralls" version " 2.12.0"
66 id " org.owasp.dependencycheck" version " 7.3.0"
@@ -36,11 +36,12 @@ configurations {
3636
3737ext {
3838 set(' javersVersion' , " 6.8.0" )
39- set(' springBootVersion' , " 2.7.5" )
40- set(' springDocVersion' , " 1.6.9" )
39+ set(' jenaVersion' , " 5.4.0" )
40+ set(' springBootVersion' , " 3.4.5" )
41+ set(' springDocVersion' , " 2.5.0" )
4142 set(' keycloakVersion' , " 19.0.0" )
42- set(' junitPlatformVersion' , " 1.2.0 " )
43- set(' junitJupiterVersion' , " 5.2.0 " )
43+ set(' junitPlatformVersion' , " 1.11.4 " )
44+ set(' junitJupiterVersion' , " 5.11.4 " )
4445
4546 // directory for generated code snippets during tests
4647 snippetsDir = file(" build/generated-snippets" )
@@ -85,7 +86,7 @@ dependencies {
8586
8687 // implementation "org.springframework.security:spring-security-web:5.7.5"
8788 // implementation "org.springframework.security:spring-security-config:5.7.5"
88- implementation " org.thymeleaf:thymeleaf-spring5 "
89+ implementation " org.thymeleaf:thymeleaf-spring6 "
8990
9091
9192 // cloud support
@@ -95,23 +96,21 @@ dependencies {
9596 // implementation 'de.codecentric:spring-boot-admin-starter-client:2.7.10'
9697
9798 // springdoc
98- implementation " org.springdoc:springdoc-openapi-ui:${ springDocVersion} "
99- implementation " org.springdoc:springdoc-openapi-data-rest:${ springDocVersion} "
100- implementation " org.springdoc:springdoc-openapi-webmvc-core:${ springDocVersion} "
99+ implementation " org.springdoc:springdoc-openapi-starter-webmvc-ui:${ springDocVersion} "
101100
102101 // Keycloak
103102 // implementation "org.keycloak:keycloak-spring-boot-starter:${keycloakVersion}"
104- implementation " com.nimbusds:nimbus-jose-jwt:9.24.3 "
103+ implementation ' com.nimbusds:nimbus-jose-jwt:9.37.2 '
105104 implementation " io.jsonwebtoken:jjwt-api:0.11.5"
106105 implementation " io.jsonwebtoken:jjwt-impl:0.11.5"
107106 implementation " io.jsonwebtoken:jjwt-jackson:0.11.5"
108107
109108 // Jena
110- implementation " org.apache.jena:apache-jena-libs:4.10.0 "
111- implementation " org.apache.jena:jena-fuseki:4.10.0 "
112- implementation " org.apache.jena:jena-fuseki-server:4.10.0 "
109+ implementation " org.apache.jena:apache-jena-libs:${ jenaVersion } "
110+ implementation " org.apache.jena:jena-fuseki:${ jenaVersion } "
111+ implementation " org.apache.jena:jena-fuseki-server:${ jenaVersion } "
113112
114- implementation " org.apache.jena:jena-commonsrdf:4.10.0 "
113+ implementation " org.apache.jena:jena-commonsrdf:${ jenaVersion } "
115114 implementation " org.apache.thrift:libthrift:0.18.1"
116115
117116 implementation " org.apache.commons:commons-rdf-jsonld-java:0.5.0"
@@ -120,11 +119,11 @@ dependencies {
120119 implementation " org.apache.commons:commons-collections4:4.1"
121120
122121 // driver for postgres
123- implementation " org.postgresql:postgresql:42.5.0 "
122+ implementation ' org.postgresql:postgresql:42.7.2 '
124123 // driver for h2
125- implementation " com.h2database:h2:2.1.214 "
124+ implementation ' com.h2database:h2:2.2.220 '
126125
127- testImplementation " org.springframework.restdocs:spring-restdocs-mockmvc:2 .0.6.RELEASE "
126+ testImplementation " org.springframework.restdocs:spring-restdocs-mockmvc:3 .0.3 "
128127 testImplementation " org.springframework.boot:spring-boot-starter-test"
129128 testImplementation " org.springframework:spring-test"
130129 // testImplementation "org.springframework.security:spring-security-test"
@@ -136,7 +135,7 @@ dependencies {
136135 testImplementation " io.rest-assured:rest-assured"
137136 testImplementation " io.rest-assured:spring-mock-mvc"
138137 testImplementation " io.rest-assured:rest-assured"
139- testImplementation (" io.specto:hoverfly-java-junit5:0.17.1 " ) {
138+ testImplementation (" io.specto:hoverfly-java-junit5:0.20.0 " ) {
140139 exclude group : ' ch.qos.logback' , module : ' logback-classic'
141140 }
142141
@@ -173,7 +172,7 @@ test {
173172 environment " spring.config.location" , " classpath:/test-config/"
174173}
175174
176- tasks. withType(Test ) {
175+ tasks. withType(Test ). configureEach {
177176 testLogging {
178177 events ' started' , ' passed'
179178 }
@@ -188,13 +187,13 @@ bootJar {
188187 archiveFileName = " ${ archiveBaseName.get()} .${ archiveExtension.get()} "
189188 duplicatesStrategy = DuplicatesStrategy . EXCLUDE
190189 manifest {
191- attributes ' Main-Class' : ' org.springframework.boot.loader.PropertiesLauncher'
190+ attributes ' Main-Class' : ' org.springframework.boot.loader.launch. PropertiesLauncher'
192191 }
193192 launchScript()
194193}
195194
196195// task for printing project name.
197- task printProjectName {
196+ tasks . register( ' printProjectName' ) {
198197 doLast {
199198 println " ${ project.name} "
200199 }
0 commit comments