import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ import Ġorg . springframework . boot . gradle . plugin . SpringBoot Plugin Ċ Ċ plugins Ġ{ ĊĠ Ġkotlin (" jvm ") ĊĠ Ġkotlin (" plugin . spring ") ĊĠ Ġid (" org . springframework . boot ") Ċ } Ċ Ċ dependencies Ġ{ ĊĠ Ġfun Ġspring Boot ( module Ġ: ĠString ) Ġ= Ġ" org . springframework . boot : spring - boot -$ module " ĊĊĠ Ġimplementation ( ĊĠĠĠ Ġplatform ( SpringBoot Plugin . BO M _ COORD IN ATES ) ĊĠ Ġ) ĊĠ Ġimplementation ( ĊĠĠĠ Ġplatform (" org . jetbrains . kotlin : kotlin - bom ") ĊĠ Ġ) ĊĊĠ Ġimplementation ( spring Boot (" starter - web ")) ĊĠ Ġimplementation ( kotlin (" stdlib - jdk 8 ")) ĊĠ Ġimplementation ( kotlin (" reflect ")) ĊĊĠ Ġtest Implementation (" org . jetbrains . kotlin : kotlin - test ") ĊĠ Ġtest Implementation ( spring Boot (" starter - test ")) ĊĠ Ġtest Implementation (" org . jetbrains . kotlin : kotlin - test - junit ") ĊĠ Ġtest Implementation (" org . assertj : assertj - core ") Ċ } Ċ Ċ tasks . with Type < org . jetbrains . kotlin . gradle . tasks . Kotlin Compile > Ġ{ ĊĠ Ġkotlin Options Ġ{ ĊĠĠĠ Ġj vm Target Ġ= ĠVersions . Java . name ĊĠĠĠ Ġfree Compiler Args Ġ= ĠlistOf ("- X js r 3 0 5 = strict ", Ġ"- X jvm - default = enable ") ĊĠ Ġ} Ċ } Ċ