build.gradle.kts 399 B

123456789101112131415161718
  1. plugins {
  2. id("otel.java-conventions")
  3. id("otel.publish-conventions")
  4. }
  5. group = "io.opentelemetry.javaagent"
  6. dependencies {
  7. implementation(project(":instrumentation-api"))
  8. testImplementation(project(":testing-common"))
  9. }
  10. tasks.withType<Test>().configureEach {
  11. // required on jdk17
  12. jvmArgs("--add-opens=java.base/java.lang=ALL-UNNAMED")
  13. jvmArgs("-XX:+IgnoreUnrecognizedVMOptions")
  14. }