build.gradle.kts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("org.springframework.security")
  7. module.set("spring-security-config")
  8. versions.set("[6.0.0,]")
  9. extraDependency("jakarta.servlet:jakarta.servlet-api:6.0.0")
  10. extraDependency("org.springframework.security:spring-security-web:6.0.0")
  11. extraDependency("io.projectreactor:reactor-core:3.5.0")
  12. }
  13. }
  14. dependencies {
  15. implementation(project(":instrumentation:spring:spring-security-config-6.0:library"))
  16. library("org.springframework.security:spring-security-config:6.0.0")
  17. library("org.springframework.security:spring-security-web:6.0.0")
  18. library("io.projectreactor:reactor-core:3.5.0")
  19. testLibrary("org.springframework:spring-test:6.0.0")
  20. testLibrary("jakarta.servlet:jakarta.servlet-api:6.0.0")
  21. }
  22. otelJava {
  23. minJavaVersionSupported.set(JavaVersion.VERSION_17)
  24. }
  25. tasks {
  26. test {
  27. systemProperty("otel.instrumentation.common.enduser.id.enabled", "true")
  28. systemProperty("otel.instrumentation.common.enduser.role.enabled", "true")
  29. systemProperty("otel.instrumentation.common.enduser.scope.enabled", "true")
  30. }
  31. }