Skip to content

Commit

Permalink
Development: Update server dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
krusche committed Jan 5, 2025
1 parent 0d71dfd commit 327857d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ dependencies {
implementation "org.springframework.security:spring-security-oauth2-core:${spring_security_version}"
implementation "org.springframework.security:spring-security-oauth2-client:${spring_security_version}"
// use newest version of nimbus-jose-jwt to avoid security issues through outdated dependencies
implementation "com.nimbusds:nimbus-jose-jwt:9.48"
implementation "com.nimbusds:nimbus-jose-jwt:10.0.1"

implementation "org.springframework.security:spring-security-oauth2-jose:${spring_security_version}"
implementation "org.springframework.security:spring-security-crypto:${spring_security_version}"
Expand Down Expand Up @@ -400,7 +400,7 @@ dependencies {
testImplementation "org.springframework.boot:spring-boot-starter-test:${spring_boot_version}"
testImplementation "org.springframework.security:spring-security-test:${spring_security_version}"
testImplementation "org.springframework.boot:spring-boot-test:${spring_boot_version}"
testImplementation "org.assertj:assertj-core:3.27.0"
testImplementation "org.assertj:assertj-core:3.27.2"
testImplementation "org.mockito:mockito-core:${mockito_version}"
testImplementation "org.mockito:mockito-junit-jupiter:${mockito_version}"

Expand All @@ -420,7 +420,7 @@ dependencies {
testImplementation "com.h2database:h2:2.2.224"

// Lightweight JSON library needed for the internals of the MockRestServiceServer
testImplementation "org.json:json:20240303"
testImplementation "org.json:json:20241224"

// NOTE: make sure this corresponds to the version used for JUnit in the testImplementation
testRuntimeOnly "org.junit.platform:junit-platform-launcher:${junit_platform_version}"
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jplag_version=5.1.0
# NOTE: we cannot need to use the latest version 9.x or 10.x here as long as Stanford CoreNLP does not reference it
lucene_version=8.11.4
slf4j_version=2.0.16
sentry_version=7.19.1
sentry_version=7.20.0
liquibase_version=4.30.0
docker_java_version=3.4.1
logback_version=1.5.15
Expand All @@ -41,7 +41,7 @@ mysql_version=9.1.0
# make sure both versions are compatible
junit_version=5.11.3
junit_platform_version=1.11.4
mockito_version=5.14.2
mockito_version=5.15.2
testcontainer_version=1.20.4

# gradle plugin version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,17 +115,15 @@ configurations {
behaviorTestRuntime.extendsFrom testRuntime
}

task structuralTests(type: Test) {
tasks.register('structuralTests', Test) {
testClassesDirs = sourceSets.structuralTest.output.classesDirs
classpath += sourceSets.structuralTest.runtimeClasspath

useJUnitPlatform()
}

task behaviorTests(type: Test) {
tasks.register('behaviorTests', Test) {
testClassesDirs = sourceSets.behaviorTest.output.classesDirs
classpath += sourceSets.behaviorTest.runtimeClasspath

useJUnitPlatform()
}
// %sequential-stop%
Expand Down

0 comments on commit 327857d

Please sign in to comment.