import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġid (" org . springframework . boot ") Ġversion Ġ" 2 . 2 . 0 . BUILD - SNAPSHOT " ĊĠĠĠ Ġid (" io . spring . dependency - management ") Ġversion Ġ" 1 . 0 . 8 . RELEASE " ĊĠĠĠ Ġwar ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 3 . 5 0 " ĊĠĠĠ Ġkotlin (" plugin . spring ") Ġversion Ġ" 1 . 3 . 5 0 " Ċ } Ċ Ċ group Ġ= Ġ" org . blog " Ċ version Ġ= Ġ" 0 . 0 . 1 - SNAPSHOT " Ċ java . source Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 Ċ Ċ val Ġdevelopment Only Ġby Ġconfigurations . creating Ċ configurations Ġ{ ĊĠĠĠ Ġruntime Classpath Ġ{ ĊĠĠĠĠĠĠĠ Ġextends From ( development Only ) ĊĠĠĠ Ġ} ĊĠĠĠ Ġcompile Only Ġ{ ĊĠĠĠĠĠĠĠ Ġextends From ( configurations . annotation Processor . get ()) ĊĠĠĠ Ġ} Ċ } Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () ĊĠĠĠ Ġmaven Ġ{ Ġurl Ġ= Ġuri (" https :// repo . spring . io / milestone ") Ġ} ĊĠĠĠ Ġmaven Ġ{ Ġurl Ġ= Ġuri (" https :// repo . spring . io / snapshot ") Ġ} Ċ } Ċ Ċ dependencies Ġ{ Ċ // ĠĠĠ Ġimplementation (" org . springframework . boot : spring - boot - starter - jdbc ") Ċ // ĠĠĠ Ġimplementation (" org . springframework . boot : spring - boot - starter - oauth 2 - client ") Ċ // ĠĠĠ Ġimplementation (" org . springframework . boot : spring - boot - starter - security ") ĊĠĠĠ Ġimplementation (" org . springframework . boot : spring - boot - starter - web ") ĊĠĠĠ Ġimplementation (" com . fasterxml . jackson . module : jackson - module - kotlin ") ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin : kotlin - reflect ") ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin : kotlin - stdlib - jdk 8 ") ĊĠĠĠ Ġimplementation (" org . mybatis . spring . boot : mybatis - spring - boot - starter : 2 . 1 . 0 ") ĊĠĠĠ Ġimplementation (" org . springframework . session : spring - session - jdbc ") ĊĠĠĠ Ġcompile Only (" org . project lo mbok : lo mbok ") ĊĠĠĠ Ġdevelopment Only (" org . springframework . boot : spring - boot - devtools ") ĊĠĠĠ Ġruntime Only (" mysql : mysql - connector - java ") ĊĠĠĠ Ġannotation Processor (" org . project lo mbok : lo mbok ") ĊĠĠĠ Ġprovided Runtime (" org . springframework . boot : spring - boot - starter - tomcat ") ĊĠĠĠ Ġtest Implementation (" org . springframework . boot : spring - boot - starter - test ") Ġ{ ĊĠĠĠĠĠĠĠ Ġexclude ( group Ġ= Ġ" org . junit . vint age ", Ġmodule Ġ= Ġ" junit - vint age - engine ") ĊĠĠĠ Ġ} ĊĠĠĠ Ġtest Implementation (" org . springframework . security : spring - security - test ") Ċ } Ċ Ċ tasks . with Type < Test > Ġ{ ĊĠĠĠ Ġuse JUnit Platform () Ċ } Ċ Ċ tasks . with Type < Kotlin Compile > Ġ{ ĊĠĠĠ Ġkotlin Options Ġ{ ĊĠĠĠĠĠĠĠ Ġfree Compiler Args Ġ= ĠlistOf ("- X js r 3 0 5 = strict ") ĊĠĠĠĠĠĠĠ Ġj vm Target Ġ= Ġ" 1 . 8 " ĊĠĠĠ Ġ} Ċ } Ċ