Browse Source

Test latest version of rediscala (#5951)

* Test latest version of rediscala

* spotless
Lauri Tulmin 2 years ago
parent
commit
2fa85f12e1
1 changed files with 11 additions and 0 deletions
  1. 11 0
      instrumentation/rediscala-1.8/javaagent/build.gradle.kts

+ 11 - 0
instrumentation/rediscala-1.8/javaagent/build.gradle.kts

@@ -48,6 +48,8 @@ muzzle {
 
 dependencies {
   library("com.github.etaty:rediscala_2.11:1.8.0")
+
+  latestDepTestLibrary("com.github.etaty:rediscala_2.13:+")
 }
 
 tasks {
@@ -55,3 +57,12 @@ tasks {
     usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService())
   }
 }
+
+if (findProperty("testLatestDeps") as Boolean) {
+  configurations {
+    // rediscala_ artifact name is different for regular and latest tests
+    testImplementation {
+      exclude("com.github.etaty", "rediscala_2.11")
+    }
+  }
+}