/* Ċ Ġ* ĠCopyright ĠAmazon . com , ĠInc . Ġor Ġits Ġaffiliates . Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "). Ċ Ġ* ĠYou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠA Ġcopy Ġof Ġthe ĠLicense Ġis Ġlocated Ġat Ċ Ġ* Ċ Ġ* Ġ Ġhttp :// aws . amazon . com / apache 2 . 0 Ċ Ġ* Ċ Ġ* Ġor Ġin Ġthe Ġ" license " Ġfile Ġaccompanying Ġthis Ġfile . ĠThis Ġfile Ġis Ġdistributed Ċ Ġ* Ġon Ġan Ġ" AS ĠIS " ĠBASIS , ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ċ Ġ* Ġexpress Ġor Ġimplied . ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ċ Ġ* Ġpermissions Ġand Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ plugins Ġ{ ĊĠ Ġjava ĊĠ Ġid (" com . github . john ren gel man . shadow ") Ġversion Ġ" 5 . 2 . 0 " Ċ } Ċ Ċ base Ġ{ ĊĠ Ġarch ives Base Name Ġ= Ġ" aws - op entelemetry - agent - custom izer " Ċ } Ċ Ċ dependencies Ġ{ ĊĠ Ġcompile Only (" io . op entelemetry : op entelemetry - sdk ") ĊĠ Ġcompile Only (" org . slf 4 j : slf 4 j - api ") ĊĊĠ Ġimplementation (" io . op entelemetry : op entelemetry - sdk - extension - aws - v 1 - support ") ĊĊĠ Ġtest Implementation (" com . google . gu ava : gu ava ") ĊĊĠ Ġcompile Only (" com . google . code . find bugs : js r 3 0 5 : 3 . 0 . 2 ") Ċ } Ċ Ċ tasks Ġ{ ĊĠ Ġshadow Jar Ġ{ ĊĠĠĠ Ġarchive Classifier . set ("") ĊĊĠĠĠ Ġmerge Service Files () ĊĊĠĠĠ Ġexclude (" **/ module - info . class ") ĊĊĠĠĠ Ġ// Ġrewrite Ġdependencies Ġcalling ĠLogger . getLogger ĊĠĠĠ Ġre locate (" java . util . logging . Logger ", Ġ" io . op entelemetry . java agent . bootstrap . Patch Logger ") ĊĊĠĠĠ Ġ// Ġprevents Ġconflict Ġwith Ġlibrary Ġinstrument ation ĊĠĠĠ Ġre locate (" io . op entelemetry . instrumentation . api ", Ġ" io . op entelemetry . java agent . sh aded . instrumentation . api ") ĊĊĠĠĠ Ġ// Ġre locate ĠOpen Telemetry ĠAPI Ġusage ĊĠĠĠ Ġre locate (" io . op entelemetry . Open Telemetry ", Ġ" io . op entelemetry . java agent . sh aded . io . op entelemetry . Open Telemetry ") ĊĠĠĠ Ġre locate (" io . op entelemetry . common ", Ġ" io . op entelemetry . java agent . sh aded . io . op entelemetry . common ") ĊĠĠĠ Ġre locate (" io . op entelemetry . context ", Ġ" io . op entelemetry . java agent . sh aded . io . op entelemetry . context ") ĊĠĠĠ Ġre locate (" io . op entelemetry . correlation context ", Ġ" io . op entelemetry . java agent . sh aded . io . op entelemetry . correlation context ") ĊĠĠĠ Ġre locate (" io . op entelemetry . internal ", Ġ" io . op entelemetry . java agent . sh aded . io . op entelemetry . internal ") ĊĠĠĠ Ġre locate (" io . op entelemetry . metrics ", Ġ" io . op entelemetry . java agent . sh aded . io . op entelemetry . metrics ") ĊĠĠĠ Ġre locate (" io . op entelemetry . trace ", Ġ" io . op entelemetry . java agent . sh aded . io . op entelemetry . trace ") ĊĊĠĠĠ Ġ// Ġre locate ĠOpen Telemetry ĠAPI Ġdependency Ġusage ĊĠĠĠ Ġre locate (" io . grpc ", Ġ" io . op entelemetry . java agent . sh aded . io . grpc ") ĊĠ Ġ} Ċ } Ċ