import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġjava ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 2 . 7 1 " ĊĠĠĠ Ġapplication Ċ } Ċ Ċ group Ġ= Ġ" fo am - data " Ċ version Ġ= Ġ" 1 . 0 - SNAPSHOT " Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġcompile ( kotlin (" stdlib - jdk 8 ")) ĊĊĠĠĠ Ġcompile Ġ(" no . t ornado "," t orn ad of x "," 1 . 7 . 1 7 ") ĊĊĠĠĠ Ġ// For Ġserialization Ġto ĠJSON ĊĠĠĠ Ġcompile Ġ(" com . fasterxml . jackson . module "," jackson - module - kotlin "," 2 . 9 .+ ") ĊĊĠĠĠ Ġtest Compile (" junit ", Ġ" junit ", Ġ" 4 . 1 2 ") Ċ } Ċ Ċ configure < Java Plugin Convention > Ġ{ ĊĠĠĠ Ġsource Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 Ċ } Ċ tasks . with Type < Kotlin Compile > Ġ{ ĊĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 . 8 " Ċ } Ċ Ċ application Ġ{ ĊĠĠĠ Ġmain ClassName Ġ= Ġ" de . fo am . data . analysis . File Histogram App Kt " Ċ } Ċ