Skip to content

Commit

Permalink
excludes mockito from micrometer dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Oleh Dokuka <odokuka@vmware.com>
  • Loading branch information
Oleh Dokuka committed Jun 13, 2023
1 parent 54eb705 commit e2b9d1c
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions reactor-core-micrometer/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,21 @@ dependencies {
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine"

testImplementation platform(libs.micrometer.bom)
testImplementation libs.micrometer.core
testImplementation libs.micrometer.test
testImplementation libs.micrometer.observation.test
testImplementation libs.micrometer.contextPropagation
testImplementation (libs.micrometer.core) {
exclude group: "org.mockito"
}
testImplementation (libs.micrometer.test) {
exclude group: "org.mockito"
}
testImplementation(libs.micrometer.observation.test) {
exclude group: "org.mockito"
}
testImplementation (libs.micrometer.contextPropagation) {
exclude group: "org.mockito"
}
testImplementation(libs.micrometer.tracing.test) { //brings in context-propagation
exclude group: "io.micrometer", module: "context-propagation"
exclude group: "io.micrometer", module: "context-propagation"
exclude group: "org.mockito"
}

testImplementation(project(":reactor-test")) {
Expand Down

0 comments on commit e2b9d1c

Please sign in to comment.