import Ġorg . gradle . api . Java Version . VERSION _ 1 4 Ċ Ċ tasks . wrapper Ġ{ Ċ ĉ gradle Version Ġ= ĠFile (" gradle - version "). use Lines Ġ{ Ġit . first OrNull () Ġ} Ċ ĉ distribution Type Ġ= ĠWrapper . Distribution Type . ALL Ċ } Ċ Ċ plugins Ġ{ Ċ ĉ kotlin (" jvm ") Ġversion Ġ" 1 . 4 . 2 0 " Ċ ĉ ` java - library ` Ċ ĉ ` maven - publish ` Ċ } Ċ Ċ group Ġ= Ġ" dev . kk or oly ov . p iel ine " Ċ description Ġ= Ġ" Shared Ġlibrary Ġutilities " Ċ Ċ java Ġ{ Ċ ĉ source Compatibility Ġ= ĠVERSION _ 1 4 Ċ ĉ target Compatibility Ġ= ĠVERSION _ 1 4 ĊĊ ĉ with Sources Jar () Ċ ĉ with Javadoc Jar () Ċ } Ċ Ċ repositories Ġ{ Ċ ĉ j center () Ċ } Ċ Ċ dependencies Ġ{ Ċ ĉ val Ġgrpc Version : ĠString Ġby Ġproject Ċ ĉ api (" io . grpc : grpc - api :$ grpc Version ") ĊĊ ĉ val Ġop entr acing Version : ĠString Ġby Ġproject Ċ ĉ val Ġop entr acing Grpc Version : ĠString Ġby Ġproject Ċ ĉ api (" io . op entr acing : op entr acing - api :$ op entr acing Version ") Ċ ĉ api (" io . op entr acing . contrib : op entr acing - grpc :$ op entr acing Grpc Version ") ĊĊ ĉ val Ġj aeger Version : ĠString Ġby Ġproject Ċ ĉ implementation (" io . j aeger tracing : j aeger - client :$ j aeger Version ") ĊĊ ĉ dependency Lock ing Ġ{ Ċĉ ĉ lock All Configurations () Ċ ĉ } Ċ } Ċ Ċ publishing Ġ{ Ċ ĉ publications Ġ{ Ċĉ ĉ create < Maven Publication >(" mvn ") Ġ{ Ċĉĉ ĉ from ( components [" java "]) Ċĉ ĉ } Ċ ĉ } ĊĊ ĉ repositories Ġ{ Ċĉ ĉ maven Ġ{ Ċĉĉ ĉ name Ġ= Ġ" GitHub Packages " Ċĉĉ ĉ url Ġ= Ġuri (" https :// maven . pkg . github . com / kk or oly ov / p iel ine - lib ") Ċĉĉ ĉ credentials Ġ{ Ċĉĉĉ ĉ username Ġ= ĠSystem . getenv (" GITHUB _ ACT OR ") Ċĉĉĉ ĉ password Ġ= ĠSystem . getenv (" GITHUB _ TOKEN ") Ċĉĉ ĉ } Ċĉ ĉ } Ċ ĉ } Ċ } Ċ