import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 5 . 2 0 " ĊĠĠĠ Ġapplication ĊĠĠĠ Ġid (" org . jetbrains . kotlin . k apt ") Ġversion Ġ" 1 . 5 . 2 0 " ĊĠĠĠ Ġid (" com . github . john ren gel man . shadow ") Ġversion Ġ" 7 . 0 . 0 " ĊĠĠĠ Ġid (" io . mic ronaut . application ") Ġversion Ġ" 1 . 5 . 3 " ĊĠĠĠ Ġid (" org . jetbrains . kotlin . plugin . al lopen ") Ġversion Ġ" 1 . 5 . 2 0 " ĊĠĠĠ Ġid (" org . jetbrains . kotlin . plugin . jpa ") Ġversion Ġ" 1 . 5 . 2 0 " Ċ } Ċ Ċ group Ġ= Ġ" com . cas ad ode v " Ċ version Ġ= Ġ" 1 . 0 - SNAPSHOT " Ċ Ċ val Ġkotlin Version = Ġproject . properties [" kotlin Version "] Ċ val Ġcompile Kotlin : ĠKotlin Compile Ġby Ġtasks Ċ compile Kotlin . kotlin Options . suppress Warnings Ġ= Ġtrue Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () Ċ } Ċ Ċ mic ronaut Ġ{ ĊĠĠĠ Ġruntime (" netty ") ĊĠĠĠ Ġtest Runtime (" junit 5 ") ĊĠĠĠ Ġprocessing Ġ{ ĊĠĠĠĠĠĠĠ Ġincremental ( true ) ĊĠĠĠĠĠĠĠ Ġannotations (" com . cas ad ode v .* ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation (" io . mic ronaut : mic ronaut - http - client ") ĊĠĠĠ Ġimplementation (" io . mic ronaut : mic ronaut - runtime ") ĊĠĠĠ Ġimplementation (" io . mic ronaut . kotlin : mic ronaut - kotlin - runtime ") ĊĠĠĠ Ġimplementation (" io . mic ronaut . sql : mic ronaut - hibernate - jpa ") ĊĠĠĠ Ġimplementation (" io . mic ronaut . sql : mic ronaut - jdbc - hikari ") ĊĠĠĠ Ġimplementation (" javax . annotation : javax . annotation - api ") ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin : kotlin - reflect :${ kotlin Version }") ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin : kotlin - stdlib - jdk 8 :${ kotlin Version }") ĊĠĠĠ Ġruntime Only (" ch . qos . log back : log back - classic ") ĊĠĠĠ Ġimplementation (" io . mic ronaut : mic ronaut - validation ") ĊĊĠĠĠ Ġruntime Only (" com . fasterxml . jackson . module : jackson - module - kotlin ") Ċ Ċ // ĠĠĠ Ġdepend encia ĠH 2 Ċ // ĠĠĠ Ġimplementation (" com . h 2 database : h 2 : 1 . 4 . 2 0 0 ") ĊĠĠĠ Ġruntime Only (" com . h 2 database : h 2 ") Ċ Ċ // ĠĠĠ ĠAPI ĠTw ict h ĊĠĠĠ Ġimplementation (" com . github . twitch 4 j : twitch 4 j : 1 . 5 . 0 ") ĊĊĠĠĠ Ġtest Implementation ( kotlin (" test ")) Ċ } Ċ Ċ tasks . test Ġ{ ĊĠĠĠ Ġuse JUnit Platform () Ċ } Ċ Ċ tasks . with Type < Kotlin Compile >() Ġ{ ĊĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 5 " Ċ } Ċ Ċ kotlin Ġ{ ĊĠĠĠ Ġsource Sets [" main "]. apply Ġ{ ĊĠĠĠĠĠĠĠ Ġkotlin . src Dir (" src / main / kotlin ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ application Ġ{ ĊĠĠĠ Ġmain Class . set (" com . cas ad ode v . boot loader . Application Kt ") Ċ } Ċ