plugins Ġ{ ĊĠ Ġid (" ot el . java - con ventions ") ĊĠ Ġid (" ot el . publish - con ventions ") Ċ } Ċ Ċ description Ġ= Ġ" Open Telemetry ĠJava agent Ġtesting Ġcommon s " Ċ group Ġ= Ġ" io . op entelemetry . java agent " Ċ Ċ source Sets Ġ{ ĊĠ Ġmain Ġ{ ĊĠĠĠ Ġval Ġar mer ia Sh aded Deps Ġ= Ġproject (": testing : ar mer ia - sh aded - for - testing ") ĊĠĠĠ Ġoutput . dir ( ar mer ia Sh aded Deps . file (" build / extract ed / shadow "), Ġ" built By " Ġto Ġ": testing : ar mer ia - sh aded - for - testing : extract Shadow Jar ") ĊĠ Ġ} Ċ } Ċ Ċ dependencies Ġ{ ĊĠ Ġapi (" org . apache . groovy : groovy ") ĊĠ Ġapi (" org . apache . groovy : groovy - json ") ĊĠ Ġapi (" org . sp ock framework : sp ock - core ") Ġ{ ĊĠĠĠ Ġ// Ġexclude Ġoptional Ġdependencies ĊĠĠĠ Ġexclude ( group Ġ= Ġ" cg lib ", Ġmodule Ġ= Ġ" cg lib - node p ") ĊĠĠĠ Ġexclude ( group Ġ= Ġ" net . byte buddy ", Ġmodule Ġ= Ġ" byte - buddy ") ĊĠĠĠ Ġexclude ( group Ġ= Ġ" org . junit . platform ", Ġmodule Ġ= Ġ" junit - platform - test kit ") ĊĠĠĠ Ġexclude ( group Ġ= Ġ" org . jetbrains ", Ġmodule Ġ= Ġ" annotations ") ĊĠĠĠ Ġexclude ( group Ġ= Ġ" org . obj en esis ", Ġmodule Ġ= Ġ" obj en esis ") ĊĠĠĠ Ġexclude ( group Ġ= Ġ" org . ow 2 . asm ", Ġmodule Ġ= Ġ" asm ") ĊĠ Ġ} ĊĠ Ġapi (" org . sp ock framework : sp ock - junit 4 ") Ġ{ ĊĠĠĠ Ġ// Ġspo ck - core Ġis Ġalready Ġadded Ġas Ġdependency ĊĠĠĠ Ġ// Ġexclude Ġit Ġhere Ġto Ġavoid Ġpulling Ġin Ġoptional Ġdependencies ĊĠĠĠ Ġexclude ( group Ġ= Ġ" org . sp ock framework ", Ġmodule Ġ= Ġ" sp ock - core ") ĊĠ Ġ} ĊĠ Ġapi (" org . junit . jupiter : junit - jupiter - api ") ĊĠ Ġapi (" org . junit . jupiter : junit - jupiter - params ") ĊĊĠ Ġapi (" io . op entelemetry : op entelemetry - api ") ĊĠ Ġapi (" io . op entelemetry : op entelemetry - sem conv ") ĊĠ Ġapi (" io . op entelemetry : op entelemetry - sdk ") ĊĠ Ġapi (" io . op entelemetry : op entelemetry - sdk - testing ") ĊĠ Ġapi (" io . op entelemetry : op entelemetry - sdk - metrics ") ĊĠ Ġapi (" io . op entelemetry : op entelemetry - sdk - metrics - testing ") ĊĠ Ġapi (" io . op entelemetry : op entelemetry - sdk - logs ") ĊĠ Ġapi ( project (": instrumentation - api ")) ĊĊĠ Ġapi (" org . assertj : assertj - core ") ĊĊĠ Ġ// ĠNeeds Ġto Ġbe Ġapi Ġdependency Ġdue Ġto ĠS po ck Ġrestriction . ĊĠ Ġapi (" org . await ility : await ility ") ĊĊĠ Ġapi (" com . google . gu ava : gu ava ") ĊĊĠ Ġcompile Only ( project ( path Ġ= Ġ": testing : ar mer ia - sh aded - for - testing ", Ġconfiguration Ġ= Ġ" shadow ")) ĊĊĠ Ġimplementation (" io . op entelemetry . proto : op entelemetry - proto ") ĊĊĠ Ġimplementation (" net . byte buddy : byte - buddy ") ĊĠ Ġimplementation (" org . slf 4 j : slf 4 j - api ") ĊĠ Ġimplementation (" ch . qos . log back : log back - classic ") ĊĠ Ġimplementation (" org . slf 4 j : log 4 j - over - slf 4 j ") ĊĠ Ġimplementation (" org . slf 4 j : j cl - over - slf 4 j ") ĊĠ Ġimplementation (" org . slf 4 j : jul - to - slf 4 j ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - extension - annotations ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - logging ") ĊĊĠ Ġannotation Processor (" com . google . auto . service : auto - service ") ĊĠ Ġcompile Only (" com . google . auto . service : auto - service ") ĊĊĠ Ġtest Implementation ( project (": java agent - instrumentation - api ")) ĊĠ Ġtest Implementation ( project (": java agent - tool ing ")) ĊĠ Ġtest Implementation ( project (": java agent - bootstrap ")) ĊĠ Ġtest Implementation ( project (": java agent - extension - api ")) ĊĠ Ġtest Implementation ( project (": instrumentation : external - annotations : java agent ")) ĊĊĠ Ġ// ĠWe Ġhave Ġaut oser vices Ġdefined Ġin Ġtest Ġsubtree , Ġlooks Ġlike Ġwe Ġneed Ġthis Ġto Ġbe Ġable Ġto Ġproperly Ġrebuild Ġthis ĊĠ Ġtest Annotation Processor (" com . google . auto . service : auto - service ") ĊĠ Ġtest Compile Only (" com . google . auto . service : auto - service ") Ċ } Ċ Ċ tasks Ġ{ ĊĠ Ġjavadoc Ġ{ ĊĠĠĠ Ġenabled Ġ= Ġfalse ĊĠ Ġ} Ċ } Ċ