From e3489eacf5cc2a3da27b98a02ba391b6cbb94cb2 Mon Sep 17 00:00:00 2001 From: Sam Snyder Date: Tue, 7 Nov 2023 09:11:05 -0800 Subject: [PATCH] Remove force from testcase as it no longer exists in Gradle 8.4 --- .../java/dependencies/UpgradeDependencyVersionTest.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/test/java/org/openrewrite/java/dependencies/UpgradeDependencyVersionTest.java b/src/test/java/org/openrewrite/java/dependencies/UpgradeDependencyVersionTest.java index eb3095a..38086fa 100644 --- a/src/test/java/org/openrewrite/java/dependencies/UpgradeDependencyVersionTest.java +++ b/src/test/java/org/openrewrite/java/dependencies/UpgradeDependencyVersionTest.java @@ -50,9 +50,7 @@ void upgradeGuavaInGradleProject() { dependencies { compileOnly 'com.google.guava:guava:29.0-jre' - runtimeOnly ('com.google.guava:guava:29.0-jre') { - force = true - } + runtimeOnly ('com.google.guava:guava:29.0-jre') } """, //language=groovy @@ -67,9 +65,7 @@ void upgradeGuavaInGradleProject() { dependencies { compileOnly 'com.google.guava:guava:30.1.1-jre' - runtimeOnly ('com.google.guava:guava:30.1.1-jre') { - force = true - } + runtimeOnly ('com.google.guava:guava:30.1.1-jre') } """, spec -> spec.afterRecipe(after -> {