Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nicmunroe committed Sep 13, 2024
1 parent 8786e32 commit b50f901
Show file tree
Hide file tree
Showing 15 changed files with 24 additions and 56 deletions.
8 changes: 2 additions & 6 deletions backstopper-reusable-tests-junit5/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ dependencies {
project(":backstopper-custom-validators"),
"com.fasterxml.jackson.core:jackson-core:$jacksonVersion",
"com.fasterxml.jackson.core:jackson-databind:$jacksonVersion",
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockito3Version",
"org.assertj:assertj-core:$assertJVersion",
"org.reflections:reflections:$orgReflectionsUpdatedVersion",
Expand All @@ -28,9 +26,7 @@ dependencies {
"org.jetbrains:annotations:$jetbrainsAnnotationsVersion",
)
testImplementation(
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.slf4j:slf4j-api:$slf4jVersion",
"ch.qos.logback:logback-classic:$logbackVersion",
)
Expand Down
15 changes: 4 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ configure(subprojects.findAll { it.name.startsWith("sample") || it.name.startsWi

// ========== PROPERTIES FOR GRADLE BUILD - DEPENDENCY VERSIONS / ETC
ext {
slf4jVersion = '1.7.36'
slf4jVersion = '2.0.16'
jakartaInjectVersion = '2.0.1'
jakartaValidationVersion = '3.0.2'
servletApiVersion = '6.0.0' // Compatible with Jakarta EE 10
Expand All @@ -93,26 +93,19 @@ ext {
springboot3_1Version = '3.1.12'
springboot3_2Version = '3.2.9'
springboot3_3Version = '3.3.3'
jersey1Version = '1.19.2'
jersey2Version = '2.23.2'
jaxRsVersion = '2.0.1'
jaxbApiVersion = '2.4.0-b180830.0359'

junitVersion = '4.13.2'
junit5Version = '5.8.2'
junit5Version = '5.11.0'
mockitoVersion = '5.13.0'
logbackVersion = '1.5.8'
jacksonVersion = '2.17.2'
assertJVersion = '3.23.1'
assertJVersion = '3.26.3'
junitDataproviderVersion = '1.13.1'
hamcrestVersion = '1.3'
hibernateValidatorVersion = '8.0.1.Final' // Compatible with Jakarta EE 10
glassfishExpresslyVersion = '5.0.0' // Provides EL impl support for hibernate validator, compatible with Jakarta EE 10

jetbrainsAnnotationsVersion = '16.0.3'

orgReflectionsVersion = '0.9.11'
javassistVersion = '3.23.2-GA'
jetbrainsAnnotationsVersion = '24.1.0'

jettyVersion = '11.0.24'
// RestAssured has a vulnerability warning due to pulling in commons-codec:commons-codec:1.11, so we are manually
Expand Down
9 changes: 6 additions & 3 deletions samples/sample-spring-boot3-webflux/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,16 @@ dependencies {
)
testImplementation(
project(":backstopper-reusable-tests-junit5"),
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured",
)
// Make gradle happy for gradle 9.
// See: https://docs.gradle.org/8.10/userguide/upgrading_version_8.html#test_framework_implementation_dependencies
testRuntimeOnly(
"org.junit.platform:junit-platform-launcher"
)
}

apply plugin: "application"
Expand Down
4 changes: 1 addition & 3 deletions samples/sample-spring-boot3-webmvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ dependencies {
)
testImplementation(
project(":backstopper-reusable-tests-junit5"),
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured",
Expand Down
4 changes: 1 addition & 3 deletions samples/sample-spring-web-mvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ dependencies {
)
testImplementation(
project(":backstopper-reusable-tests-junit5"),
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured:$restAssuredVersion",
Expand Down
4 changes: 1 addition & 3 deletions testonly/testonly-spring-6_0-webmvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ dependencies {
testImplementation(
project(":backstopper-reusable-tests-junit5"),
project(":testonly:testonly-spring-webmvc-reusable-test-support"),
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured:$restAssuredVersion",
Expand Down
4 changes: 1 addition & 3 deletions testonly/testonly-spring-6_1-webmvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ dependencies {
testImplementation(
project(":backstopper-reusable-tests-junit5"),
project(":testonly:testonly-spring-webmvc-reusable-test-support"),
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured:$restAssuredVersion",
Expand Down
4 changes: 1 addition & 3 deletions testonly/testonly-springboot3_0-webflux/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ dependencies {
project(":backstopper-reusable-tests-junit5"),
project(":testonly:testonly-spring-webflux-reusable-test-support"),
"org.jetbrains:annotations:$jetbrainsAnnotationsVersion",
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured",
Expand Down
4 changes: 1 addition & 3 deletions testonly/testonly-springboot3_0-webmvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ dependencies {
testImplementation(
project(":backstopper-reusable-tests-junit5"),
project(":testonly:testonly-spring-webmvc-reusable-test-support"),
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured",
Expand Down
4 changes: 1 addition & 3 deletions testonly/testonly-springboot3_1-webflux/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ dependencies {
project(":backstopper-reusable-tests-junit5"),
project(":testonly:testonly-spring-webflux-reusable-test-support"),
"org.jetbrains:annotations:$jetbrainsAnnotationsVersion",
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured",
Expand Down
4 changes: 1 addition & 3 deletions testonly/testonly-springboot3_1-webmvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ dependencies {
testImplementation(
project(":backstopper-reusable-tests-junit5"),
project(":testonly:testonly-spring-webmvc-reusable-test-support"),
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured",
Expand Down
4 changes: 1 addition & 3 deletions testonly/testonly-springboot3_2-webflux/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ dependencies {
project(":backstopper-reusable-tests-junit5"),
project(":testonly:testonly-spring-webflux-reusable-test-support"),
"org.jetbrains:annotations:$jetbrainsAnnotationsVersion",
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured",
Expand Down
4 changes: 1 addition & 3 deletions testonly/testonly-springboot3_2-webmvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ dependencies {
testImplementation(
project(":backstopper-reusable-tests-junit5"),
project(":testonly:testonly-spring-webmvc-reusable-test-support"),
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured",
Expand Down
4 changes: 1 addition & 3 deletions testonly/testonly-springboot3_3-webflux/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ dependencies {
project(":backstopper-reusable-tests-junit5"),
project(":testonly:testonly-spring-webflux-reusable-test-support"),
"org.jetbrains:annotations:$jetbrainsAnnotationsVersion",
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured",
Expand Down
4 changes: 1 addition & 3 deletions testonly/testonly-springboot3_3-webmvc/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ dependencies {
testImplementation(
project(":backstopper-reusable-tests-junit5"),
project(":testonly:testonly-spring-webmvc-reusable-test-support"),
"org.junit.jupiter:junit-jupiter-api:$junit5Version",
"org.junit.jupiter:junit-jupiter-engine:$junit5Version",
"org.junit.jupiter:junit-jupiter-params:$junit5Version",
"org.junit.jupiter:junit-jupiter:$junit5Version",
"org.mockito:mockito-core:$mockitoVersion",
"org.assertj:assertj-core:$assertJVersion",
"io.rest-assured:rest-assured",
Expand Down

0 comments on commit b50f901

Please sign in to comment.