build.gradle.kts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. plugins {
  2. id("otel.javaagent-instrumentation")
  3. }
  4. muzzle {
  5. pass {
  6. group.set("org.restlet")
  7. module.set("org.restlet")
  8. versions.set("[1.1.0, 1.2-M1)")
  9. extraDependency("com.noelios.restlet:com.noelios.restlet")
  10. assertInverse.set(true)
  11. }
  12. }
  13. repositories {
  14. mavenCentral()
  15. maven("https://maven.restlet.talend.com/")
  16. mavenLocal()
  17. }
  18. dependencies {
  19. bootstrap(project(":instrumentation:servlet:servlet-common:bootstrap"))
  20. implementation(project(":instrumentation:restlet:restlet-1.1:library"))
  21. library("org.restlet:org.restlet:1.1.5")
  22. library("com.noelios.restlet:com.noelios.restlet:1.1.5")
  23. testImplementation(project(":instrumentation:restlet:restlet-1.1:testing"))
  24. testInstrumentation(project(":instrumentation:jetty:jetty-8.0:javaagent"))
  25. testInstrumentation(project(":instrumentation:servlet:servlet-3.0:javaagent"))
  26. testInstrumentation(project(":instrumentation:servlet:servlet-javax-common:javaagent"))
  27. }
  28. tasks.withType<Test>().configureEach {
  29. jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
  30. }