From 9b28918eb5cbaed929e4edbffca13b0ca7a34480 Mon Sep 17 00:00:00 2001 From: Nic Munroe Date: Mon, 28 Feb 2022 14:53:02 -0800 Subject: [PATCH] Update transitive deps to the latest versions where possible --- backstopper-reusable-tests/build.gradle | 5 ++++- build.gradle | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/backstopper-reusable-tests/build.gradle b/backstopper-reusable-tests/build.gradle index 4e583ce..42061ae 100644 --- a/backstopper-reusable-tests/build.gradle +++ b/backstopper-reusable-tests/build.gradle @@ -8,6 +8,9 @@ compileTestJava { ext { // This module should use AssertJ 2.x by default so it's compatible with projects that are still on Java 7. assertJ2Version = '2.9.1' + // Get mockito up as high as possible for transitive dependency export purposes (we can't go higher due to + // Java 7 support). + mockito2Version = '2.28.2' } dependencies { @@ -20,7 +23,7 @@ dependencies { "javax.inject:javax.inject:$javaxInjectVersion", "javax.validation:validation-api:$javaxValidationVersion", "junit:junit:$junitVersion", - "org.mockito:mockito-core:$mockitoVersion", + "org.mockito:mockito-core:$mockito2Version", "org.assertj:assertj-core:$assertJ2Version", "com.tngtech.java:junit-dataprovider:$junitDataproviderVersion", "org.hamcrest:hamcrest-all:$hamcrestVersion", diff --git a/build.gradle b/build.gradle index 1c7277a..7147d39 100644 --- a/build.gradle +++ b/build.gradle @@ -77,7 +77,7 @@ configure(subprojects.findAll { it.name.startsWith("sample") || it.name.startsWi // ========== PROPERTIES FOR GRADLE BUILD - DEPENDENCY VERSIONS / ETC ext { - slf4jVersion = '1.7.7' + slf4jVersion = '1.7.36' javaxInjectVersion = '1' javaxValidationVersion = '1.0.0.GA' servletApiVersion = '3.0.1' @@ -90,12 +90,12 @@ ext { jaxRsVersion = '2.0.1' jaxbApiVersion = '2.4.0-b180830.0359' - junitVersion = '4.12' + junitVersion = '4.13.2' mockitoVersion = '1.9.5' logbackVersion = '1.2.3' - jacksonVersion = '2.4.2' + jacksonVersion = '2.12.6' assertJVersion = '3.12.2' - junitDataproviderVersion = '1.10.1' + junitDataproviderVersion = '1.13.1' hamcrestVersion = '1.3' hibernateValidatorVersion = '4.3.0.Final' javaxValidationVersionForNewerSpring = '2.0.1.Final' @@ -106,7 +106,7 @@ ext { jetbrainsAnnotationsVersion = '16.0.3' orgReflectionsVersion = '0.9.11' - javassistVersion = '3.18.2-GA' + javassistVersion = '3.23.2-GA' jettyVersion = '9.2.19.v20160908' restAssuredVersion = '3.0.1'