plugins {
  `java-library`
  id("io.sentry.animalsniffer")
  id("io.sentry.javadoc")
}

dependencies {
  api(projects.sentryOpentelemetry.sentryOpentelemetryOtlp)
  implementation(libs.springboot3.otel)
}

tasks.jar {
  manifest {
    attributes(
      "Sentry-Version-Name" to project.version,
      "Sentry-SDK-Name" to Config.Sentry.SENTRY_OPENTELEMETRY_OTLP_SPRING_SDK_NAME,
      "Sentry-SDK-Package-Name" to "maven:io.sentry:sentry-opentelemetry-otlp-spring",
      "Implementation-Vendor" to "Sentry",
      "Implementation-Title" to project.name,
      "Implementation-Version" to project.version,
    )
  }
}
