agent-tooling.gradle 943 B

12345678910111213141516171819202122232425262728293031
  1. apply from: "${rootDir}/gradle/java.gradle"
  2. minimumBranchCoverage = 0.6
  3. minimumInstructionCoverage = 0.8
  4. excludedClassesCoverage += ['datadog.trace.agent.tooling.*']
  5. configurations {
  6. // classpath used by the instrumentation muzzle plugin
  7. instrumentationMuzzle
  8. }
  9. dependencies {
  10. compile(project(':dd-java-agent:agent-bootstrap')) {
  11. // This only needs to exist in the bootstrap, not the instrumentation jar.
  12. exclude group: 'org.slf4j', module: 'slf4j-simple'
  13. }
  14. compile group: 'com.blogspot.mydailyjava', name: 'weak-lock-free', version: '0.15'
  15. compile deps.bytebuddy
  16. compile deps.bytebuddyagent
  17. annotationProcessor deps.autoservice
  18. implementation deps.autoservice
  19. compile project(':dd-trace-ot')
  20. testCompile deps.opentracing
  21. testCompile project(':dd-java-agent:testing')
  22. testCompile project(':utils:gc-utils')
  23. instrumentationMuzzle sourceSets.main.output
  24. instrumentationMuzzle configurations.compile
  25. }