build.gradle.kts 729 B

123456789101112131415161718192021222324
  1. plugins {
  2. id("otel.library-instrumentation")
  3. }
  4. val springBootVersion = "2.6.15"
  5. dependencies {
  6. compileOnly("org.springframework:spring-webmvc:5.3.0")
  7. compileOnly("javax.servlet:javax.servlet-api:4.0.1")
  8. testImplementation(project(":testing-common"))
  9. testImplementation("org.springframework.boot:spring-boot-starter-web:$springBootVersion")
  10. testImplementation("org.springframework.boot:spring-boot-starter-test:$springBootVersion") {
  11. exclude("org.junit.vintage", "junit-vintage-engine")
  12. }
  13. }
  14. configurations.testRuntimeClasspath {
  15. resolutionStrategy {
  16. // requires old logback (and therefore also old slf4j)
  17. force("ch.qos.logback:logback-classic:1.2.11")
  18. force("org.slf4j:slf4j-api:1.7.36")
  19. }
  20. }