build.gradle.kts 825 B

12345678910111213141516171819202122
  1. import org.springframework.boot.gradle.tasks.bundling.BootJar
  2. plugins {
  3. id("otel.java-conventions")
  4. id("org.springframework.boot") version "2.7.18"
  5. }
  6. description = "smoke-tests-otel-starter-spring-boot-reactive-common"
  7. dependencies {
  8. // spring dependencies are compile only to enable testing against different versions of spring
  9. compileOnly(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
  10. compileOnly("org.springframework.boot:spring-boot-starter-web")
  11. compileOnly("org.springframework.boot:spring-boot-starter-webflux")
  12. compileOnly("org.springframework.boot:spring-boot-starter-test")
  13. compileOnly("org.springframework.boot:spring-boot-starter-data-r2dbc")
  14. api(project(":smoke-tests-otel-starter:spring-smoke-testing"))
  15. }
  16. tasks.withType<BootJar> {
  17. enabled = false
  18. }