diff --git a/instrumentation/lettuce/lettuce-5.1/javaagent/build.gradle.kts b/instrumentation/lettuce/lettuce-5.1/javaagent/build.gradle.kts index 932c7a505578..654a6172715d 100644 --- a/instrumentation/lettuce/lettuce-5.1/javaagent/build.gradle.kts +++ b/instrumentation/lettuce/lettuce-5.1/javaagent/build.gradle.kts @@ -25,17 +25,8 @@ dependencies { tasks { withType().configureEach { - val testLatestDeps = findProperty("testLatestDeps") as Boolean - systemProperty("testLatestDeps", testLatestDeps) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service) - - dependencies { - if (testLatestDeps) { - // This is only needed for 6.7.0, can be removed when 6.7.1 is released. - // See https://github.com/redis/lettuce/issues/3317 - testLibrary("io.micrometer:micrometer-core:1.5.0") - } - } } val testStableSemconv by registering(Test::class) { diff --git a/instrumentation/lettuce/lettuce-5.1/library/build.gradle.kts b/instrumentation/lettuce/lettuce-5.1/library/build.gradle.kts index 09e9678e7640..1ea17a553d5d 100644 --- a/instrumentation/lettuce/lettuce-5.1/library/build.gradle.kts +++ b/instrumentation/lettuce/lettuce-5.1/library/build.gradle.kts @@ -14,17 +14,8 @@ dependencies { tasks { withType().configureEach { - val testLatestDeps = findProperty("testLatestDeps") as Boolean - systemProperty("testLatestDeps", testLatestDeps) + systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean) usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service) - - dependencies { - if (testLatestDeps) { - // This is only needed for 6.7.0, can be removed when 6.7.1 is released. - // See https://github.com/redis/lettuce/issues/3317 - testLibrary("io.micrometer:micrometer-core:1.5.0") - } - } } val testStableSemconv by registering(Test::class) {