File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
src/test/kotlin/io/sentry/spring7/mvc Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ retrofit = "2.9.0"
3131slf4j = " 1.7.30"
3232springboot2 = " 2.7.18"
3333springboot3 = " 3.5.0"
34- springboot4 = " 4.0.0-M1 "
34+ springboot4 = " 4.0.0-M2 "
3535# Android
3636targetSdk = " 34"
3737compileSdk = " 34"
Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ tasks.withType<KotlinCompile>().configureEach {
2828
2929dependencies {
3030 api(projects.sentry)
31+
3132 compileOnly(platform(SpringBootPlugin .BOM_COORDINATES ))
33+
3234 compileOnly(Config .Libs .springWeb)
3335 compileOnly(Config .Libs .springAop)
3436 compileOnly(Config .Libs .springSecurityWeb)
@@ -54,6 +56,7 @@ dependencies {
5456 errorprone(libs.nopen.checker)
5557 errorprone(libs.nullaway)
5658
59+ testImplementation(platform(SpringBootPlugin .BOM_COORDINATES ))
5760 // tests
5861 testImplementation(projects.sentryTestSupport)
5962 testImplementation(projects.sentryGraphql)
Original file line number Diff line number Diff line change @@ -389,21 +389,21 @@ open class App {
389389 @Bean
390390 open fun sentryUserFilter (scopes : IScopes , @Lazy sentryUserProviders : List <SentryUserProvider >) =
391391 FilterRegistrationBean <SentryUserFilter >().apply {
392- this .filter = SentryUserFilter (scopes, sentryUserProviders)
392+ this .setFilter( SentryUserFilter (scopes, sentryUserProviders) )
393393 this .order = Ordered .LOWEST_PRECEDENCE
394394 }
395395
396396 @Bean
397397 open fun sentrySpringFilter (scopes : IScopes ) =
398398 FilterRegistrationBean <SentrySpringFilter >().apply {
399- this .filter = SentrySpringFilter (scopes)
399+ this .setFilter( SentrySpringFilter (scopes) )
400400 this .order = Ordered .HIGHEST_PRECEDENCE
401401 }
402402
403403 @Bean
404404 open fun sentryTracingFilter (scopes : IScopes ) =
405405 FilterRegistrationBean <SentryTracingFilter >().apply {
406- this .filter = SentryTracingFilter (scopes)
406+ this .setFilter( SentryTracingFilter (scopes) )
407407 this .order = Ordered .HIGHEST_PRECEDENCE + 1 // must run after SentrySpringFilter
408408 }
409409
You can’t perform that action at this time.
0 commit comments