import Ġcom . github . jen gel man . gradle . plugins . shadow . tasks . Shadow Jar Ċ import Ġcom . github . jen gel man . gradle . plugins . shadow . transformers . Service File Transformer Ċ import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ group Ġ= Ġ" no . nav . sy fo " Ċ version Ġ= Ġ" 1 . 0 . 0 " Ċ Ċ val Ġcor outines Version Ġ= Ġ" 1 . 4 . 3 - native - mt " Ċ val Ġjavax Activation Version Ġ= Ġ" 1 . 1 . 1 " Ċ val Ġj ack son Version Ġ= Ġ" 2 . 1 2 . 2 " Ċ val Ġk lu ent Version Ġ= Ġ" 1 . 6 5 " Ċ val Ġk tor Version Ġ= Ġ" 1 . 5 . 2 " Ċ val Ġlog back Version Ġ= Ġ" 1 . 2 . 3 " Ċ val Ġlog stash Encoder Version Ġ= Ġ" 6 . 6 " Ċ val Ġprometheus Version Ġ= Ġ" 0 . 1 0 . 0 " Ċ val Ġsm Common Version Ġ= Ġ" 1 . 7 cb 1 5 8 e " Ċ val Ġmock k Version Ġ= Ġ" 1 . 1 1 . 0 " Ċ val Ġn im bus ds Version Ġ= Ġ" 9 . 7 " Ċ val Ġtest Container Kafka Version Ġ= Ġ" 1 . 1 5 . 2 " Ċ val Ġgoogle Cloud Version Ġ= Ġ" 1 . 1 1 3 . 1 4 " Ċ val Ġt ika Version Ġ= Ġ" 1 . 2 5 " Ċ val Ġmetadata Extractor Version Ġ= Ġ" 2 . 1 5 . 0 " Ċ val Ġjunit Version Ġ= Ġ" 5 . 7 . 1 " Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġid (" org . j mail en . kot linter ") Ġversion Ġ" 3 . 4 . 0 " ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 4 . 3 2 " ĊĠĠĠ Ġid (" com . diff plug . spot less ") Ġversion Ġ" 5 . 1 1 . 0 " ĊĠĠĠ Ġid (" com . github . john ren gel man . shadow ") Ġversion Ġ" 6 . 1 . 0 " ĊĠĠĠ Ġj aco co Ċ } Ċ Ċ build script Ġ{ ĊĠĠĠ Ġdependencies Ġ{ ĊĠĠĠĠĠĠĠ Ġclasspath (" javax . xml . bind : jax b - api : 2 . 4 . 0 - b 1 8 0 8 3 0 . 0 3 5 9 ") ĊĠĠĠĠĠĠĠ Ġclasspath (" org . glass fish . jax b : jax b - runtime : 3 . 0 . 0 ") ĊĠĠĠĠĠĠĠ Ġclasspath (" com . sun . activation : javax . activation : 1 . 2 . 0 ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ val Ġgithub User : ĠString Ġby Ġproject Ċ val Ġgithub Password : ĠString Ġby Ġproject Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () ĊĠĠĠ Ġj center () ĊĠĠĠ Ġmaven ( url Ġ= Ġ" https :// dl . bin tray . com / kotlin / ktor ") ĊĠĠĠ Ġmaven ( url Ġ= Ġ" https :// packages . con fluent . io / maven /") ĊĠĠĠ Ġmaven ( url Ġ= Ġ" https :// kotlin . bin tray . com / kotlin x ") ĊĠĠĠ Ġmaven Ġ{ ĊĠĠĠĠĠĠĠ Ġurl Ġ= Ġuri (" https :// maven . pkg . github . com / nav ik t / sy f osm - common ") ĊĠĠĠĠĠĠĠ Ġcredentials Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġusername Ġ= Ġgithub User ĊĠĠĠĠĠĠĠĠĠĠĠ Ġpassword Ġ= Ġgithub Password ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation ( kotlin (" stdlib ")) ĊĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - coroutines - slf 4 j :$ coroutines Version ") ĊĠĠĠ Ġimplementation (" io . prometheus : simple client _ hot spot :$ prometheus Version ") ĊĠĠĠ Ġimplementation (" io . prometheus : simple client _ common :$ prometheus Version ") ĊĊĠĠĠ Ġimplementation (" io . ktor : ktor - server - netty :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - core :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - apache :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - auth - basic :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - jackson :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - jackson :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - auth :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - auth - jwt :$ ktor Version ") ĊĠĠĠ Ġimplementation (" com . google . cloud : google - cloud - storage :$ google Cloud Version ") ĊĊĠĠĠ Ġimplementation (" ch . qos . log back : log back - classic :$ log back Version ") ĊĠĠĠ Ġimplementation (" net . logstash . log back : logstash - log back - encoder :$ logstash Encoder Version ") ĊĊĠĠĠ Ġimplementation (" com . fasterxml . jackson . module : jackson - module - jax b - annotations :$ jackson Version ") ĊĠĠĠ Ġimplementation (" com . fasterxml . jackson . module : jackson - module - kotlin :$ jackson Version ") ĊĠĠĠ Ġimplementation (" com . fasterxml . jackson . data format : jackson - data format - xml :$ jackson Version ") ĊĠĠĠ Ġimplementation (" com . fasterxml . jackson . datatype : jackson - datatype - js r 3 1 0 :$ jackson Version ") ĊĊĠĠĠ Ġimplementation (" org . apache . t ika : t ika - core :$ t ika Version ") ĊĠĠĠ Ġimplementation (" com . d rew no akes : metadata - extractor :$ metadata Extractor Version ") ĊĊĠĠĠ Ġtest Implementation (" org . am sh ove . k lu ent : k lu ent :$ k lu ent Version ") ĊĠĠĠ Ġtest Implementation (" io . mock k : mock k :$ mock k Version ") ĊĠĠĠ Ġtest Implementation (" com . nim bus ds : nim bus - j ose - jwt :$ nim bus ds Version ") ĊĠĠĠ Ġtest Implementation (" org . test containers : kafka :$ test Container Kafka Version ") ĊĠĠĠ Ġtest Implementation (" io . ktor : ktor - server - test - host :$ ktor Version ") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude ( group Ġ= Ġ" org . eclipse . jetty ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter - api :$ junit Version ") ĊĠĠĠ Ġtest Runtime Only (" org . junit . jupiter : junit - jupiter - engine :$ junit Version ") ĊĊĠĠĠ Ġtest Implementation (" io . ktor : ktor - server - tests :$ ktor Version ") Ċ } Ċ Ċ tasks . with Type < Jar > Ġ{ ĊĠĠĠ Ġmanifest . attributes [" Main - Class "] Ġ= Ġ" no . nav . sy fo . Bootstrap Kt " Ċ } Ċ Ċ tasks Ġ{ ĊĠĠĠ Ġwith Type < Test > Ġ{ ĊĠĠĠĠĠĠĠ Ġuse JUnit Platform () ĊĠĠĠĠĠĠĠ Ġtest Logging Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġevents (" PAS SED ", Ġ" FAILED ", Ġ" SKIP PED ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠĠĠ Ġnamed < Kotlin Compile >(" compile Test Kotlin ") Ġ{ ĊĠĠĠĠĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 2 " ĊĠĠĠ Ġ} Ċ } Ċ