import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ val Ġjunit Version Ġ= Ġ" 5 . 7 . 1 " Ċ val Ġlog back Version Ġ= Ġ" 1 . 2 . 3 " Ċ val Ġkotlin xC or outines Version Ġ= Ġ" 1 . 5 . 0 " Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ Ġ" 1 . 5 . 1 0 " ĊĠĠĠ Ġid (" io . gitlab . art urb os ch . de te kt "). version (" 1 . 1 7 . 1 ") ĊĠĠĠ Ġidea Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation ( kotlin (" stdlib ")) ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - coroutines - core :$ kotlin xC or outines Version ") ĊĠĠĠ Ġimplementation (" ch . qos . log back : log back - classic :$ log back Version ") ĊĊĠĠĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter - api :$ junit Version ") ĊĠĠĠ Ġtest Runtime Only (" org . junit . jupiter : junit - jupiter - engine :$ junit Version ") Ċ } Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġj center () ĊĠĠĠ Ġmaven Ġ{ ĊĠĠĠĠĠĠĠ Ġurl Ġ= Ġuri (" https :// plugins . gradle . org / m 2 /") ĊĠĠĠ Ġ} Ċ } Ċ Ċ val Ġcompile Kotlin Ġby Ġtasks . getting ( Kotlin Compile :: class ) Ġ{ ĊĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 1 " Ċ } Ċ Ċ val Ġcompile Test Kotlin Ġby Ġtasks . getting ( Kotlin Compile :: class ) Ġ{ ĊĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 1 " Ċ } Ċ Ċ tasks . with Type < Test > Ġ{ ĊĠĠĠ Ġuse JUnit Platform Ġ{ ĊĠĠĠĠĠĠĠ Ġinclude En gin es (" junit - jupiter ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ de te kt Ġ{ ĊĠĠĠ Ġinput Ġ= Ġfiles (" src / main / kotlin ", Ġ" src / test / kotlin ") ĊĠĠĠ Ġconfig Ġ= Ġfiles (" de te kt - config . yml ") Ċ } Ċ Ċ task < Java Exec >(" command line ") Ġ{ ĊĠĠĠ Ġmain Ġ= Ġ" net . d ink la . ray tracer . gui . CommandLine Ui " ĊĠĠĠ Ġclasspath Ġ= Ġsource Sets [" main "]. runtime Classpath ĊĠĠĠ Ġargs Ġ= ĠlistOf (" World 1 0 . kt ", Ġ" build / World 1 0 . png ") Ċ } Ċ Ċ task < Java Exec >(" swing ") Ġ{ ĊĠĠĠ Ġmain Ġ= Ġ" net . d ink la . ray tracer . gui . swing . From The Ground Up Ray Tracer Kt " ĊĠĠĠ Ġclasspath Ġ= Ġsource Sets [" main "]. runtime Classpath Ċ } Ċ