Skip to content

Commit b60f6d7

Browse files
committed
finatra latest dep failure
1 parent 7e1c0d4 commit b60f6d7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

instrumentation/finatra-2.9/javaagent/build.gradle.kts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,16 @@ tasks {
8989
systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false")
9090
}
9191
}
92+
93+
if (findProperty("testLatestDeps") as Boolean) {
94+
configurations.named("latestDepTestRuntimeClasspath") {
95+
resolutionStrategy {
96+
eachDependency {
97+
// finatra 24.2.0 doesn't work with jackson 2.20.0
98+
if (requested.group.startsWith("com.fasterxml.jackson")) {
99+
useVersion("2.19.2")
100+
}
101+
}
102+
}
103+
}
104+
}

0 commit comments

Comments
 (0)