plugins Ġ{ ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 6 . 2 0 - RC " ĊĠĠĠ Ġid (" org . jetbrains . dok ka ") Ġversion Ġ" 1 . 6 . 1 0 " ĊĊĠĠĠ Ġid (" application ") Ċ } Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () Ċ } Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin : kotlin - stdlib ") ĊĊĠĠĠ Ġtest Implementation (" org . jetbrains . kotlin : kotlin - test ") ĊĊĠĠĠ Ġtest Implementation (" org . jetbrains . kotlin : kotlin - test - junit ") Ċ } Ċ group Ġ= Ġ" com . mart ing oe " Ċ version Ġ= Ġ" 1 . 0 . 0 " Ċ Ċ application Ġ{ ĊĠĠĠ Ġmain Class . set (" com . mart ing oe . cub el ang . main . Main Kt ") Ċ } Ċ Ċ tasks . jar Ġ{ ĊĠĠĠ Ġmanifest { ĊĠĠĠĠĠĠĠ Ġattributes [" Main - Class "] Ġ= Ġ" com . mart ing oe . cub el ang . main . Main Kt " ĊĠĠĠ Ġ} ĊĠĠĠ Ġfrom ( source Sets . main . get (). output ) ĊĠĠĠ Ġdepends On ( configurations . runtime Classpath ) ĊĠĠĠ Ġfrom ({ ĊĠĠĠĠĠĠĠ Ġconfigurations . runtime Classpath . get (). filter Ġ{ Ġit . name . endsWith (" jar ") Ġ}. map Ġ{ Ġzip Tree ( it ) Ġ} ĊĠĠĠ Ġ}) Ċ Ċ }