From 22268bc99a105ab92726ecb8cd69b7fa08983908 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jan 2024 13:32:54 +0000 Subject: [PATCH 1/2] Bump uk.org.webcompere:system-stubs-core from 2.0.2 to 2.1.6 Bumps [uk.org.webcompere:system-stubs-core](https://github.com/webcompere/system-stubs) from 2.0.2 to 2.1.6. - [Release notes](https://github.com/webcompere/system-stubs/releases) - [Changelog](https://github.com/webcompere/system-stubs/blob/main/History.md) - [Commits](https://github.com/webcompere/system-stubs/compare/system-stubs-parent-2.0.2...system-stubs-parent-2.1.6) --- updated-dependencies: - dependency-name: uk.org.webcompere:system-stubs-core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 791e84d0..cd39a894 100644 --- a/build.gradle +++ b/build.gradle @@ -110,7 +110,7 @@ subprojects { testCompileOnly group: 'org.mockito', name: 'mockito-core', version: "${mockitoVersion}" testRuntimeOnly group: 'org.mockito', name: 'mockito-junit-jupiter', version: "${mockitoVersion}" - testImplementation group: 'uk.org.webcompere', name: 'system-stubs-core', version: '2.0.2' + testImplementation group: 'uk.org.webcompere', name: 'system-stubs-core', version: '2.1.6' // Project Lombok dependency compileOnly group: 'org.projectlombok', name: 'lombok', version: "${lombokVersion}" From 79732548bf16b2fc058467a1fb8b20d563a241e4 Mon Sep 17 00:00:00 2001 From: Max Lambrecht Date: Wed, 28 Feb 2024 14:27:13 -0600 Subject: [PATCH 2/2] Conditional dependecy uk.org.webcompere version based on java version Signed-off-by: Max Lambrecht --- build.gradle | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index cd39a894..1e6db970 100644 --- a/build.gradle +++ b/build.gradle @@ -110,7 +110,11 @@ subprojects { testCompileOnly group: 'org.mockito', name: 'mockito-core', version: "${mockitoVersion}" testRuntimeOnly group: 'org.mockito', name: 'mockito-junit-jupiter', version: "${mockitoVersion}" - testImplementation group: 'uk.org.webcompere', name: 'system-stubs-core', version: '2.1.6' + if (JavaVersion.current() == JavaVersion.VERSION_1_8) { + testImplementation group: 'uk.org.webcompere', name: 'system-stubs-core', version: '2.0.3' // Last version supporting Java 8 + } else { + testImplementation group: 'uk.org.webcompere', name: 'system-stubs-core', version: '2.1.6' + } // Project Lombok dependency compileOnly group: 'org.projectlombok', name: 'lombok', version: "${lombokVersion}"