import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġjava ĊĠĠĠ Ġapplication ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 5 . 1 0 " ĊĠĠĠ Ġid (" org . jetbrains . kotlin . plugin . no arg ") Ġversion Ġ" 1 . 5 . 1 0 " ĊĠĠĠ Ġid (" org . jetbrains . kotlin . plugin . jpa ") Ġversion Ġ" 1 . 5 . 1 0 " ĊĠĠĠ Ġid (" org . jetbrains . kotlin . plugin . al lopen ") Ġversion Ġ" 1 . 5 . 1 0 " Ċ } Ċ Ċ version Ġ= Ġ" 0 . 0 . 3 " Ċ Ċ application Ġ{ ĊĠĠĠ Ġmain Class . set (" org . radar base . export . Main Kt ") Ċ } Ċ Ċ project . extra . apply Ġ{ ĊĠĠĠ Ġset (" okhttp Version ", Ġ" 4 . 9 . 1 ") ĊĠĠĠ Ġset (" jackson Version ", Ġ" 2 . 1 2 . 3 ") ĊĠĠĠ Ġset (" slf 4 j Version ", Ġ" 1 . 7 . 3 0 ") ĊĠĠĠ Ġset (" log back Version ", Ġ" 1 . 2 . 3 ") ĊĠĠĠ Ġset (" open Csv Version ", Ġ" 4 . 6 ") ĊĠĠĠ Ġset (" radar J ersey Version ", Ġ" 0 . 6 . 2 ") Ċ } Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġapi ( kotlin (" stdlib - jdk 8 ")) ĊĊĠĠĠ Ġimplementation (" com . openc sv : openc sv :${ project . extra [" open Csv Version "] }") ĊĠĠĠ Ġimplementation (" org . radar base : radar - j ersey :${ project . extra [" radar J ersey Version "] }") ĊĊĠĠĠ Ġimplementation (" com . fasterxml . jackson . core : jackson - databind :${ project . extra [" jackson Version "] }") ĊĠĠĠ Ġimplementation (" org . slf 4 j : slf 4 j - api :${ project . extra [" slf 4 j Version "] }") ĊĊĠĠĠ Ġimplementation (" com . squareup . okhttp 3 : okhttp :${ project . extra [" okhttp Version "] }") ĊĊĠĠĠ Ġruntime Only (" ch . qos . log back : log back - classic :${ project . extra [" log back Version "] }") ĊĊĠĠĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter : 5 . 4 . 2 ") Ċ } ĊĊ Ċ tasks . with Type < Kotlin Compile > Ġ{ ĊĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 1 " Ċ } Ċ Ċ tasks . with Type < Test > Ġ{ ĊĠĠĠ Ġuse JUnit Platform () ĊĠĠĠ Ġtest Logging Ġ{ ĊĠĠĠĠĠĠĠ Ġevents (" passed ", Ġ" skipped ", Ġ" failed ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ tasks . register (" download Dependencies ") Ġ{ ĊĠĠĠ Ġdo Last Ġ{ ĊĠĠĠĠĠĠĠ Ġconfigurations [" runtime Classpath "]. files ĊĠĠĠĠĠĠĠ Ġconfigurations [" compile Classpath "]. files ĊĠĠĠĠĠĠĠ Ġprintln (" Downloaded Ġall Ġdependencies ") ĊĠĠĠ Ġ} Ċ } ĊĊ Ċ tasks . register < Copy >(" copy Dependencies ") Ġ{ ĊĠĠĠ Ġfrom ( configurations . runtime Classpath . map Ġ{ Ġit . files Ġ}) ĊĠĠĠ Ġinto ("${ build Dir }/ third - party ") Ċ } Ċ Ċ tasks . wrapper Ġ{ ĊĠĠĠ Ġgradle Version Ġ= Ġ" 7 . 0 . 2 " Ċ } Ċ