build.gradle.kts 476 B

123456789101112131415161718192021
  1. plugins {
  2. id("otel.library-instrumentation")
  3. }
  4. repositories {
  5. mavenCentral()
  6. maven("https://maven.restlet.talend.com/")
  7. mavenLocal()
  8. }
  9. dependencies {
  10. library("org.restlet:org.restlet:1.1.5")
  11. library("com.noelios.restlet:com.noelios.restlet:1.1.5")
  12. testImplementation(project(":instrumentation:restlet:restlet-1.1:testing"))
  13. }
  14. tasks.withType<Test>().configureEach {
  15. jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
  16. }