Limit latest dep spring data version
Spring data 3 depends on spring 6
MODIFY
instrumentation/hibernate/hibernate-4.0/javaagent/build.gradle.kts
instrumentation/hibernate/hibernate-4.0/javaagent/build.gradle.kts
@@ -58,7 +58,7 @@ dependencies {
add("latestDepTestImplementation", "org.hibernate:hibernate-core:5.+")
add("latestDepTestImplementation", "org.hibernate:hibernate-entitymanager:5.+")
- add("latestDepTestImplementation", "org.springframework.data:spring-data-jpa:(2.4.0,)")
+ add("latestDepTestImplementation", "org.springframework.data:spring-data-jpa:(2.4.0,3)")
}
tasks.withType<Test>().configureEach {

MODIFY
instrumentation/spring/spring-data-1.8/javaagent/build.gradle.kts
instrumentation/spring/spring-data-1.8/javaagent/build.gradle.kts
@@ -39,6 +39,8 @@ dependencies {
latestDepTestLibrary("org.springframework:spring-test:5.+")
latestDepTestLibrary("org.hibernate:hibernate-entitymanager:5.+")
+ latestDepTestLibrary("org.springframework.data:spring-data-commons:2.+")
+ latestDepTestLibrary("org.springframework.data:spring-data-jpa:2.+")
}
tasks.withType<Test>().configureEach {

Limit latest dep spring data version (#7237)

Spring data 3 depends on spring 6