Skip to content

Commit 63e08c3

Browse files
committed
library too
1 parent 5508513 commit 63e08c3

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

instrumentation/lettuce/lettuce-5.1/library/build.gradle.kts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,17 @@ dependencies {
1414

1515
tasks {
1616
withType<Test>().configureEach {
17-
systemProperty("testLatestDeps", findProperty("testLatestDeps") as Boolean)
17+
val testLatestDeps = findProperty("testLatestDeps") as Boolean
18+
systemProperty("testLatestDeps", testLatestDeps)
1819
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].service)
20+
21+
dependencies {
22+
if (testLatestDeps) {
23+
// This is only needed for 6.7.0, can be removed when 6.7.1 is released.
24+
// See https://github.com/redis/lettuce/issues/3317
25+
testLibrary("io.micrometer:micrometer-core:1.5.0")
26+
}
27+
}
1928
}
2029

2130
val testStableSemconv by registering(Test::class) {

0 commit comments

Comments
 (0)