@@ -63,14 +63,17 @@ config {
6363 coverage {
6464 jacoco {
6565 enabled = true
66- toolVersion = jacocoVersion
66+ toolVersion = jacocoPluginVersion
6767 }
6868 }
6969}
7070
7171allprojects {
7272 repositories {
7373 mavenLocal()
74+ maven {
75+ url ' https://s01.oss.sonatype.org/content/repositories/snapshots/'
76+ }
7477 gradlePluginPortal()
7578 }
7679
@@ -97,11 +100,13 @@ subprojects { subproj ->
97100 }
98101
99102 dependencies {
100- testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine'
101- testImplementation group : ' org.testcontainers' , name : ' junit-jupiter'
102- testImplementation(group : ' com.redis.testcontainers' , name : ' testcontainers-redis' , version : testcontainersRedisVersion) {
103- exclude group : ' com.redis' , module : ' lettucemod'
104- }
103+ testImplementation ' org.junit.jupiter:junit-jupiter-api'
104+ testImplementation ' org.junit.jupiter:junit-jupiter-params'
105+ testImplementation ' org.junit.jupiter:junit-jupiter-engine'
106+ testImplementation ' org.junit.platform:junit-platform-launcher'
107+ testImplementation ' org.testcontainers:junit-jupiter'
108+ testImplementation group : ' com.redis' , name : ' testcontainers-redis' , version : testcontainersRedisVersion
109+ testImplementation group : ' com.redis' , name : ' testcontainers-redis-enterprise' , version : testcontainersRedisVersion
105110 }
106111
107112 test {
@@ -117,13 +122,6 @@ subprojects { subproj ->
117122 archiveClassifier = ' '
118123 }
119124
120- configurations. all {
121- resolutionStrategy. eachDependency { DependencyResolveDetails details ->
122- if (details. requested. name == ' lettuce-core' ) {
123- details. useVersion lettuceVersion
124- }
125- }
126- }
127125 }
128126}
129127
@@ -132,7 +130,7 @@ subprojects { p ->
132130 coverage {
133131 jacoco {
134132 enabled = hasTestsAt(p. file(' src/test' ))
135- toolVersion = jacocoVersion
133+ toolVersion = jacocoPluginVersion
136134 }
137135 }
138136 }
0 commit comments