plugins Ġ{ ĊĠĠĠ Ġapplication ĊĠĠĠ Ġkotlin (" jvm ") Ċ } Ċ Ċ application Ġ{ ĊĠĠĠ Ġmain Class . set (" org . radar base . app config . Main Kt ") ĊĠĠĠ Ġapplication Default Jvm Args Ġ= ĠlistOf ( ĊĠĠĠĠĠĠĠ Ġ"- D java . security . eg d = file :/ dev / ./ ur andom ", ĊĠĠĠĠĠĠĠ Ġ"- D java . util . logging . manager = org . apache . logging . log 4 j . jul . Log Manager ", ĊĠĠĠĠĠĠĠ Ġ"-- add - modules ", Ġ" java . se ", ĊĠĠĠĠĠĠĠ Ġ"-- add - exports ", Ġ" java . base / jdk . internal . ref = ALL - UN NAMED ", ĊĠĠĠĠĠĠĠ Ġ"-- add - opens ", Ġ" java . base / java . lang = ALL - UN NAMED ", ĊĠĠĠĠĠĠĠ Ġ"-- add - opens ", Ġ" java . base / java . nio = ALL - UN NAMED ", ĊĠĠĠĠĠĠĠ Ġ"-- add - opens ", Ġ" java . base / sun . nio . ch = ALL - UN NAMED ", ĊĠĠĠĠĠĠĠ Ġ"-- add - opens ", Ġ" java . management / sun . management = ALL - UN NAMED ", ĊĠĠĠĠĠĠĠ Ġ"-- add - opens ", Ġ" jdk . management / com . sun . management . internal = ALL - UN NAMED " ĊĠĠĠ Ġ) Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation ( kotlin (" stdlib - jdk 8 ")) ĊĠĠĠ Ġimplementation ( kotlin (" reflect ")) ĊĊĠĠĠ Ġimplementation ( project (": radar - expression - lang ")) ĊĊĠĠĠ Ġval Ġradar J ersey Version : ĠString Ġby Ġproject ĊĠĠĠ Ġimplementation (" org . radar base : radar - j ersey :$ radar J ersey Version ") ĊĠĠĠ Ġimplementation (" org . radar base : radar - j ersey - hibernate :$ radar J ersey Version ") ĊĊĠĠĠ Ġval Ġh azelcast Hibernate Version : ĠString Ġby Ġproject ĊĠĠĠ Ġimplementation (" com . hazelcast : hazelcast - hibernate 5 3 :$ hazelcast Hibernate Version ") ĊĠĠĠ Ġval Ġh azelcast Version : ĠString Ġby Ġproject ĊĠĠĠ Ġimplementation (" com . hazelcast : hazelcast :$ hazelcast Version ") ĊĠĠĠ Ġval Ġh azelcast Kubernetes Version : ĠString Ġby Ġproject ĊĠĠĠ Ġruntime Only (" com . hazelcast : hazelcast - kubernetes :$ hazelcast Kubernetes Version ") ĊĊĠĠĠ Ġimplementation (" commons - codec : commons - codec :${ project . property (" commons Codec Version ") }") ĊĠĠĠ Ġruntime Only (" com . h 2 database : h 2 :${ project . property (" h 2 Version ") }") ĊĊĠĠĠ Ġval Ġs lf 4 j Version : ĠString Ġby Ġproject ĊĠĠĠ Ġimplementation (" org . slf 4 j : slf 4 j - api :$ slf 4 j Version ") ĊĠĠĠ Ġval Ġlog 4 j 2 Version : ĠString Ġby Ġproject ĊĠĠĠ Ġruntime Only (" org . apache . logging . log 4 j : log 4 j - slf 4 j - impl :$ log 4 j 2 Version ") ĊĠĠĠ Ġruntime Only (" org . apache . logging . log 4 j : log 4 j - api :$ log 4 j 2 Version ") ĊĠĠĠ Ġruntime Only (" org . apache . logging . log 4 j : log 4 j - jul :$ log 4 j 2 Version ") ĊĊĠĠĠ Ġval Ġjunit Version : ĠString Ġby Ġproject ĊĠĠĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter :$ junit Version ") ĊĠĠĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter - params :$ junit Version ") ĊĠĠĠ Ġtest Implementation (" org . hamcrest : hamcrest : 2 . 2 ") ĊĠĠĠ Ġtest Implementation (" org . mockito . kotlin : mockito - kotlin : 4 . 0 . 0 ") Ċ } Ċ Ċ tasks . with Type < Test > Ġ{ ĊĠĠĠ Ġuse JUnit Platform () ĊĠĠĠ Ġtest Logging Ġ{ ĊĠĠĠĠĠĠĠ Ġevents (" passed ", Ġ" skipped ", Ġ" failed ") ĊĠĠĠĠĠĠĠ Ġset Exception Format (" full ") ĊĠĠĠĠĠĠĠ Ġshow Standard Streams Ġ= Ġtrue ĊĠĠĠ Ġ} Ċ } Ċ Ċ tasks . with Type < Tar > Ġ{ ĊĠĠĠ Ġcompression Ġ= ĠCompression . GZIP ĊĠĠĠ Ġarchive Extension . set (" tar . gz ") Ċ } Ċ Ċ tasks . register (" download Dependencies ") Ġ{ ĊĠĠĠ Ġdo Last Ġ{ ĊĠĠĠĠĠĠĠ Ġconfigurations . compile Classpath . get (). files ĊĠĠĠĠĠĠĠ Ġprintln (" Downloaded Ġcompile - time Ġdependencies ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ tasks . register < Copy >(" copy Dependencies ") Ġ{ ĊĠĠĠ Ġfrom ( configurations . runtime Classpath . map Ġ{ Ġit . files Ġ}) ĊĠĠĠ Ġinto ("$ build Dir / third - party /") ĊĠĠĠ Ġdo Last Ġ{ ĊĠĠĠĠĠĠĠ Ġprintln (" Copied Ġthird - party Ġruntime Ġdependencies ") ĊĠĠĠ Ġ} Ċ } Ċ