import Ġorg . gradle . api . tasks . testing . logging . Test Exception Format Ċ import Ġorg . gradle . api . tasks . testing . logging . Test Log Event Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġapplication ĊĠĠĠ Ġkotlin (" jvm ") Ġversion ĠKotlin . version ĊĠĠĠ Ġid ( Spot less . spot less ) Ġversion ĠSpot less . version ĊĠĠĠ Ġid ( Shadow . shadow ) Ġversion ĠShadow . version Ċ } Ċ Ċ build script Ġ{ ĊĠĠĠ Ġrepositories Ġ{ ĊĠĠĠĠĠĠĠ Ġmaven Central () ĊĠĠĠ Ġ} Ċ } Ċ Ċ apply Ġ{ ĊĠĠĠ Ġplugin ( Spot less . spot less ) Ċ } Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () ĊĠĠĠ Ġmaven (" https :// packages . con fluent . io / maven /") ĊĠĠĠ Ġmaven (" https :// jit pack . io ") Ċ } Ċ Ċ application Ġ{ ĊĠĠĠ Ġapplication Name Ġ= Ġ" dp - re gel - min ste inn te kt " ĊĠĠĠ Ġmain Class . set (" no . nav . dag p enger . re gel . min ste inn te kt . Application Kt ") Ċ } Ċ Ċ java Ġ{ ĊĠĠĠ Ġsource Compatibility Ġ= ĠJava Version . VERSION _ 1 1 ĊĠĠĠ Ġtarget Compatibility Ġ= ĠJava Version . VERSION _ 1 1 Ċ } Ċ Ċ val Ġjar Ġby Ġtasks . getting ( Jar :: class ) Ġ{ ĊĠĠĠ Ġmanifest Ġ{ ĊĠĠĠĠĠĠĠ Ġattributes [" Multi - Release "] Ġ= Ġ" true " Ġ// Ġhttps :// github . com / john ren gel man / shadow / issues / 4 4 9 ĊĠĠĠ Ġ} Ċ } Ċ Ċ tasks . with Type < org . jetbrains . kotlin . gradle . tasks . Kotlin Compile > Ġ{ Ġkotlin Options . jvm Target Ġ= Ġ" 1 . 8 " Ġ} Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation ( kotlin (" stdlib ")) ĊĊĠĠĠ Ġimplementation ( Dag p enger . Streams ) ĊĠĠĠ Ġimplementation ( Dag p enger . Events ) ĊĠĠĠ Ġimplementation ( Dag p enger . G run nb el Ã¸ p ) ĊĊĠĠĠ Ġimplementation ( M oshi . mos hi ) ĊĠĠĠ Ġimplementation ( M oshi . mos hi Adapters ) ĊĠĠĠ Ġimplementation ( M oshi . mos hi Kotlin ) ĊĠĠĠ Ġimplementation ( M oshi . mos hi K tor ) ĊĊĠĠĠ Ġimplementation ( Ul id . ul id ) ĊĊĠĠĠ Ġimplementation ( Pro metheus . common ) ĊĠĠĠ Ġimplementation ( Pro metheus . hot spot ) ĊĠĠĠ Ġimplementation ( Pro metheus . N are . prometheus ) ĊĊĠĠĠ Ġimplementation ( Log 4 j 2 . api ) ĊĠĠĠ Ġimplementation ( Log 4 j 2 . core ) ĊĠĠĠ Ġimplementation ( Log 4 j 2 . slf 4 j ) ĊĠĠĠ Ġimplementation ( Log 4 j 2 . library (" layout - template - json ")) ĊĊĠĠĠ Ġimplementation ( N are . n are ) ĊĊĠĠĠ Ġimplementation ( K tor . server Net ty ) ĊĊĠĠĠ Ġimplementation ( Kafka . clients ) ĊĠĠĠ Ġimplementation ( Kafka . streams ) ĊĊĠĠĠ Ġimplementation ( Kon fig . kon fig ) ĊĠĠĠ Ġimplementation ( Kotlin . Logging . kotlin Logging ) ĊĊĠĠĠ Ġimplementation (" no . fin n . un le ash : un le ash - client - java : 3 . 2 . 9 ") ĊĊĠĠĠ Ġtest Implementation ( kotlin (" test ")) ĊĠĠĠ Ġtest Implementation ( J unit 5 . params ) ĊĠĠĠ Ġtest Implementation ( J unit 5 . api ) ĊĠĠĠ Ġtest Runtime Only ( J unit 5 . engine ) ĊĊĠĠĠ Ġtest Implementation ( J unit 5 . params ) ĊĠĠĠ Ġtest Implementation ( Ko Test . runner ) ĊĠĠĠ Ġtest Implementation ( Ko Test . assertions ) ĊĠĠĠ Ġtest Implementation ( Ko Test . property ) ĊĊĠĠĠ Ġtest Implementation ( Kafka . stream TestUtils ) ĊĠĠĠ Ġtest Implementation ( Wire mock . standalone ) ĊĠĠĠ Ġtest Implementation ( Mock k . mock k ) Ċ } Ċ Ċ spot less Ġ{ ĊĠĠĠ Ġkotlin Ġ{ ĊĠĠĠĠĠĠĠ Ġk tl int ( K tl int . version ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġkotlin Gradle Ġ{ ĊĠĠĠĠĠĠĠ Ġtarget (" *. gradle . k ts ", Ġ" build Src /**/*. kt * ") ĊĠĠĠĠĠĠĠ Ġk tl int ( K tl int . version ) ĊĠĠĠ Ġ} Ċ } Ċ Ċ tasks . with Type < Test > Ġ{ ĊĠĠĠ Ġuse JUnit Platform () ĊĠĠĠ Ġtest Logging Ġ{ ĊĠĠĠĠĠĠĠ Ġshow Exceptions Ġ= Ġtrue ĊĠĠĠĠĠĠĠ Ġshow Stack Tr aces Ġ= Ġtrue ĊĠĠĠĠĠĠĠ Ġexception Format Ġ= ĠTest Exception Format . FULL ĊĠĠĠĠĠĠĠ Ġevents Ġ= Ġset Of ( Test Log Event . PAS SED , ĠTest Log Event . SKIP PED , ĠTest Log Event . FAILED ) ĊĠĠĠ Ġ} Ċ } Ċ Ċ tasks . with Type < Wrapper > Ġ{ ĊĠĠĠ Ġgradle Version Ġ= Ġ" 7 . 3 . 1 " Ċ } Ċ Ċ tasks . named (" compile Kotlin ") Ġ{ ĊĠĠĠ Ġdepends On (" spot less Kotlin Check ") Ċ } Ċ Ċ // Ġhttps :// stackoverflow . com / questions / 4 8 0 3 3 7 9 2 / log 4 j 2 - error - status logger - unrecognized - conversion - specifier Ċ tasks . with Type < com . github . jen gel man . gradle . plugins . shadow . tasks . Shadow Jar > Ġ{ ĊĠĠĠ Ġtransform ( com . github . jen gel man . gradle . plugins . shadow . transformers . Log 4 j 2 Plugins Cache File Transformer :: class . java ) Ċ } Ċ