import Ġnet . lt gt . gradle . error pr one . error pr one Ċ Ċ plugins Ġ{ ĊĠ Ġid (" ot el . java - con ventions ") ĊĠ Ġid (" ot el . publish - con ventions ") ĊĠ Ġid (" ot el . j mh - con ventions ") Ċ } Ċ Ċ group Ġ= Ġ" io . op entelemetry . java agent " Ċ Ċ dependencies Ġ{ ĊĠ Ġimplementation ( project (": java agent - bootstrap ")) ĊĠ Ġimplementation ( project (": java agent - extension - api ")) ĊĠ Ġimplementation ( project (": java agent - instrumentation - api ")) ĊĠ Ġimplementation ( project (": java agent - tool ing : java agent - tool ing - java 9 ")) ĊĠ Ġimplementation ( project (": instrumentation - api ")) ĊĠ Ġimplementation ( project (": instrumentation - api - annotation - support ")) ĊĠ Ġimplementation ( project (": instrumentation - appender - api - internal ")) ĊĠ Ġimplementation ( project (": instrumentation - appender - sdk - internal ")) ĊĠ Ġimplementation ( project (": mu zzle ")) ĊĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - api ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - sdk ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - sdk - extension - autoconfigure ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - sdk - metrics ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - sdk - logs ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - extension - kotlin ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - extension - aws ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - extension - trace - propag ators ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - sdk - extension - resources ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - extension - noop - api ") ĊĊĠ Ġ// ĠExport ers Ġwith Ġdependencies ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - j aeger ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - logging ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - ot lp ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - ot lp - metrics ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - ot lp - logs ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - ot lp - http - trace ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - ot lp - http - metrics ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - ot lp - http - logs ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - logging - ot lp ") ĊĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - prometheus ") ĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - exporter - zip kin ") ĊĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - sdk - extension - j aeger - remote - sampler ") ĊĊĠ Ġapi (" net . byte buddy : byte - buddy - dep ") ĊĊĠ Ġannotation Processor (" com . google . auto . service : auto - service ") ĊĠ Ġcompile Only (" com . google . auto . service : auto - service - annotations ") ĊĠ Ġtest Compile Only (" com . google . auto . service : auto - service - annotations ") ĊĊĠ Ġ// ĠUsed Ġby Ġbyte - buddy Ġbut Ġnot Ġbrought Ġin Ġas Ġa Ġtrans itive Ġdependency . ĊĠ Ġcompile Only (" com . google . code . find bugs : annotations ") ĊĠ Ġtest Compile Only (" com . google . code . find bugs : annotations ") ĊĊĠ Ġtest Implementation ( project (": testing - common ")) ĊĠ Ġtest Implementation (" com . google . gu ava : gu ava ") Ċ } Ċ Ċ testing Ġ{ ĊĠ Ġsu ites Ġ{ ĊĠĠĠ Ġval Ġtest ExceptionHandler Ġby Ġregistering ( Jvm TestSuite :: class ) Ġ{ ĊĠĠĠĠĠ Ġdependencies Ġ{ ĊĠĠĠĠĠĠĠ Ġimplementation ( project (": java agent - bootstrap ")) ĊĠĠĠĠĠĠĠ Ġimplementation ( project (": java agent - tool ing ")) ĊĠĠĠĠĠĠĠ Ġimplementation (" net . byte buddy : byte - buddy - dep ") ĊĊĠĠĠĠĠĠĠ Ġ// ĠUsed Ġby Ġbyte - buddy Ġbut Ġnot Ġbrought Ġin Ġas Ġa Ġtrans itive Ġdependency . ĊĠĠĠĠĠĠĠ Ġcompile Only (" com . google . code . find bugs : annotations ") ĊĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ Ċ // ĠHere Ġwe Ġonly Ġinclude Ġauto configure Ġbut Ġdon " t Ġinclude ĠO TL P Ġexport ers Ġto Ġensure Ġthey Ġare Ġonly Ġin Ċ // Ġthe Ġfull Ġdistribution . ĠWe Ġneed Ġto Ġoverride Ġthe Ġdefault Ġexporter Ġsetting Ġof ĠO TL P Ġas Ġa Ġresult . Ċ tasks Ġ{ ĊĠ Ġwith Type < Test >(). configure Each Ġ{ ĊĠĠĠ Ġenvironment (" OT EL _ TR ACES _ EXPORT ER ", Ġ" none ") ĊĠĠĠ Ġenvironment (" OT EL _ METR ICS _ EXPORT ER ", Ġ" none ") ĊĠ Ġ} ĊĊĠ Ġ// ĠTODO Ġthis Ġshould Ġlive Ġin Ġj mh - con ventions ĊĠ Ġnamed < Java Compile >(" j mh Compile Generated Classes ") Ġ{ ĊĠĠĠ Ġoptions . error pr one Ġ{ ĊĠĠĠĠĠ Ġis Enabled . set ( false ) ĊĠĠĠ Ġ} ĊĠ Ġ} ĊĊĠ Ġcheck Ġ{ ĊĠĠĠ Ġdepends On ( testing . su ites ) ĊĠ Ġ} Ċ } Ċ Ċ // ĠMockito Ġinline Ġmock ing Ġuses Ġbyte - buddy Ġbut Ġagent Ġtool ing Ġcurrently Ġuses Ġbyte - buddy - dep , Ġwhich Ġcannot Ġbe Ġon Ġthe Ġsame Ċ // Ġclasspath . ĠDisable Ġinline Ġmock ing Ġto Ġprevent Ġconflicts . Ċ // ĠTODO ( an ura aga ): ĠFind Ġa Ġbetter Ġsolution Ċ configurations Ġ{ ĊĠ Ġtest Runtime Classpath Ġ{ ĊĠĠĠ Ġdependencies Ġ{ ĊĠĠĠĠĠ Ġexclude (" org . mockito ", Ġ" mockito - inline ") ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ