Test latest version of rediscala (#5951)

* Test latest version of rediscala

* spotless
This commit is contained in:
Lauri Tulmin 2022-04-28 18:35:54 +03:00 committed by GitHub
parent 2bc962c5ee
commit 2fa85f12e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

@ -48,6 +48,8 @@ muzzle {
dependencies { dependencies {
library("com.github.etaty:rediscala_2.11:1.8.0") library("com.github.etaty:rediscala_2.11:1.8.0")
latestDepTestLibrary("com.github.etaty:rediscala_2.13:+")
} }
tasks { tasks {
@ -55,3 +57,12 @@ tasks {
usesService(gradle.sharedServices.registrations["testcontainersBuildService"].getService()) 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")
}
}
}