File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
sentry-spring-boot-jakarta Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ tasks.withType<KotlinCompile>().configureEach {
2424 compilerOptions.apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion .KOTLIN_1_9
2525}
2626
27- configurations.all {
28- resolutionStrategy {
29- force(libs.okhttp)
30- force(libs.okhttp.mockwebserver)
27+ dependencies {
28+ constraints {
29+ testImplementation(libs.okhttp) { version { strictly(libs.versions.okhttp.get()) } }
30+ testImplementation(libs.okhttp.mockwebserver) {
31+ version { strictly(libs.versions.okhttp.get()) }
32+ }
3133 }
32- }
3334
34- dependencies {
3535 api(projects.sentry)
3636 api(projects.sentrySpringJakarta)
3737 compileOnly(projects.sentryLogback)
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ tasks.withType<KotlinCompile>().configureEach {
1919 compilerOptions.apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion .KOTLIN_1_9
2020}
2121
22- configurations.all {
23- resolutionStrategy {
24- force(libs.okhttp)
25- force(libs.okhttp.mockwebserver)
22+ dependencies {
23+ constraints {
24+ testImplementation(libs.okhttp) { version { strictly(libs.versions.okhttp.get()) } }
25+ testImplementation(libs.okhttp.mockwebserver) {
26+ version { strictly(libs.versions.okhttp.get()) }
27+ }
2628 }
27- }
2829
29- dependencies {
3030 api(projects.sentry)
3131 api(projects.sentrySpring)
3232 compileOnly(projects.sentryLogback)
You can’t perform that action at this time.
0 commit comments