import Ġcom . github . jen gel man . gradle . plugins . shadow . tasks . Shadow Jar Ċ import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ repositories Ġ{ ĊĠ Ġmaven ( url Ġ= Ġ" https :// kotlin . bin tray . com / kotlin x ") Ċ } Ċ Ċ plugins Ġ{ ĊĠ Ġapplication ĊĠ Ġid (" org . jl le its ch uh . gradle . kt lint ") ĊĠ Ġid (" com . github . john ren gel man . shadow ") ĊĠ Ġkotlin (" jvm ") ĊĠ Ġkotlin (" plugin . serialization ") Ċ } Ċ Ċ application Ġ{ ĊĠ Ġmain Class . set (" me . ce w ong . sm ol url . cli . Cli Kt ") Ċ } Ċ Ċ tasks . with Type ( Shadow Jar :: class ) Ġ{ ĊĠ Ġarchive Base Name . set (" sm ol url - cli ") Ċ } Ċ Ċ dependencies Ġ{ ĊĠ Ġimplementation ( project (": model ")) ĊĠ Ġimplementation ( kotlin (" stdlib ")) ĊĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - cli : 0 . 3 . 3 ") ĊĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - serialization - json : 1 . 2 . 2 ") ĊĠ Ġimplementation (" com . squareup . okhttp 3 : okhttp : 4 . 9 . 1 ") Ċ } Ċ Ċ tasks . with Type ( Kotlin Compile :: class ) Ġ{ ĊĠ Ġkotlin Options Ġ{ ĊĠĠĠ Ġj vm Target Ġ= Ġ" 1 . 8 " ĊĠ Ġ} Ċ } Ċ Ċ kotlin . source Sets [" main "]. kotlin . src Dirs (" src / main ") Ċ