import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ import Ġorg . spongepowered . configur ate . build . core Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġkotlin (" jvm ") ĊĠĠĠ Ġid (" org . spongepowered . configur ate - component ") ĊĠĠĠ Ġid (" org . jl le its ch uh . gradle . kt lint ") Ċ } Ċ Ċ tasks . with Type ( Kotlin Compile :: class ). configure Each Ġ{ ĊĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 . 8 " ĊĠĠĠ Ġkotlin Options . free Compiler Args Ġ+= ĠlistOf ("- X opt - in = kotlin . Requires Opt In ") Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġapi ( core ()) ĊĠĠĠ Ġimplementation ( kotlin (" stdlib - jdk 8 ")) ĊĠĠĠ Ġimplementation ( kotlin (" reflect ")) ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - coroutines - core : 1 . 3 . 5 ") Ċ } Ċ