Forráskód Böngészése

Limit latest dep spring data version (#7237)

Spring data 3 depends on spring 6
Lauri Tulmin 2 éve
szülő
commit
4379cfbeec

+ 1 - 1
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 {

+ 2 - 0
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 {