import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ group Ġ= Ġ" no . nav . em ott ak " Ċ version Ġ= Ġ" 1 . 0 . 0 " Ċ Ċ val Ġcor outines Version Ġ= Ġ" 1 . 2 . 2 " Ċ val Ġj ack son Version Ġ= Ġ" 2 . 9 . 7 " Ċ val Ġk lu ent Version Ġ= Ġ" 1 . 3 9 " Ċ val Ġk tor Version Ġ= Ġ" 1 . 3 . 0 " Ċ val Ġspe k Version Ġ= Ġ" 2 . 0 . 8 " Ċ val Ġlog back Version Ġ= Ġ" 1 . 2 . 3 " Ċ val Ġlog stash Encoder Version Ġ= Ġ" 6 . 1 " Ċ val Ġprometheus Version Ġ= Ġ" 0 . 5 . 0 " Ċ val Ġmicro meter Registry Pro metheus Version Ġ= Ġ" 1 . 1 . 5 " Ċ val Ġn im bus j ose jwt Version Ġ= Ġ" 7 . 5 . 1 " Ċ val Ġspe k junit Version Ġ= Ġ" 2 . 0 . 1 6 " Ċ val Ġo jdbc 8 Version Ġ= Ġ" 1 9 . 3 . 0 . 0 " Ċ val Ġh ikari Version Ġ= Ġ" 3 . 3 . 1 " Ċ val Ġmock k Version Ġ= Ġ" 1 . 1 1 . 0 " Ċ val Ġkotlin Version Ġ= Ġ" 1 . 5 . 1 0 " Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 5 . 1 0 " ĊĠĠĠ Ġid (" org . j mail en . kot linter ") Ġversion Ġ" 3 . 3 . 0 " ĊĠĠĠ Ġid (" com . diff plug . gradle . spot less ") Ġversion Ġ" 3 . 2 4 . 0 " ĊĠĠĠ Ġid (" com . github . john ren gel man . shadow ") Ġversion Ġ" 6 . 1 . 0 " ĊĠĠĠ Ġid (" com . github . ben - man es . versions ") Ġversion Ġ" 0 . 3 6 . 0 " Ċ } Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () ĊĠĠĠ Ġj center () ĊĠĠĠ Ġmaven ( url Ġ= Ġ" https :// dl . bin tray . com / kotlin / ktor ") ĊĠĠĠ Ġmaven ( url Ġ= Ġ" https :// dl . bin tray . com / spe k framework / spe k - dev ") ĊĠĠĠ Ġmaven ( url Ġ= Ġ" https :// repo 1 . maven . org / maven 2 /") Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - coroutines - slf 4 j :$ coroutines Version ") ĊĠĠĠ Ġimplementation (" io . micro meter : micro meter - registry - prometheus :$ micro meter Registry Pro metheus Version ") ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin : kotlin - reflect ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - server - netty :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - jackson :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - jackson :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - apache :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - auth :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - auth - jwt :$ ktor Version ") ĊĠĠĠ Ġimplementation (" io . ktor : ktor - client - json :$ ktor 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 (" ch . qos . log back : log back - classic :$ log back Version ") ĊĠĠĠ Ġimplementation (" net . logstash . log back : logstash - log back - encoder :$ logstash Encoder Version ") ĊĊĠĠĠ Ġimplementation (" com . zaxxer : Hikari CP :$ hikari Version ") ĊĠĠĠ Ġimplementation (" com . oracle . o jdbc : o jdbc 8 :$ o jdbc 8 Version ") ĊĊĠĠĠ Ġtest Implementation (" io . ktor : ktor - server - test - host :$ ktor 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 (" org . am sh ove . k lu ent : k lu ent :$ k lu ent Version ") ĊĠĠĠ Ġtest Implementation (" org . spe k framework . spe k 2 : spe k - dsl - jvm :$ spe k Version ") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude ( group Ġ= Ġ" org . jetbrains . kotlin ") ĊĠĠĠ Ġ} ĊĠĠĠ Ġtest Runtime Only (" org . spe k framework . spe k 2 : spe k - runner - junit 5 :$ spe k Version ") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude ( group Ġ= Ġ" org . jetbrains . kotlin ") ĊĠĠĠ Ġ} ĊĠĠĠ Ġtest Implementation (" com . nim bus ds : nim bus - j ose - jwt :$ nim bus j ose jwt Version ") ĊĠĠĠ Ġtest Implementation (" io . ktor : ktor - server - test - host :$ ktor Version ") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude ( group Ġ= Ġ" org . eclipse . jetty ") ĊĠĠĠ Ġ} Ċ } ĊĊ Ċ tasks Ġ{ ĊĠĠĠ Ġwith Type < Jar > Ġ{ ĊĠĠĠĠĠĠĠ Ġmanifest . attributes [" Main - Class "] Ġ= Ġ" no . nav . em ott ak . Bootstrap Kt " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcreate (" print Version ") Ġ{ ĊĊĠĠĠĠĠĠĠ Ġdo Last Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġprintln ( project . version ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠĠĠ Ġwith Type < Kotlin Compile > Ġ{ ĊĠĠĠĠĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 2 " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġwith Type < Test > Ġ{ ĊĠĠĠĠĠĠĠ Ġuse JUnit Platform Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġinclude En gin es (" spe k 2 ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġtest Logging Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġshow Standard Streams Ġ= Ġtrue ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ" check " Ġ{ ĊĠĠĠĠĠĠĠ Ġdepends On (" format Kotlin ") ĊĠĠĠ Ġ} Ċ } Ċ