import Ġorg . jetbrains . intellij . tasks . Patch Plugin Xml Task Ċ import Ġorg . jetbrains . kotlin . gradle . plugin . Kotlin Source Set Ċ import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile Ċ import Ġjava . io .* Ċ Ċ val ĠpackageName Ġ= Ġ" io . github . vin ic ius l range l . b lok ts " Ċ val Ġplugin Version Ġ= Ġ" 0 . 1 " Ċ val Ġkotlin Version Ġ= Ġ" 1 . 3 . 1 1 " Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġjava ĊĠĠĠ Ġid (" org . jetbrains . intellij ") Ġversion Ġ" 0 . 3 . 1 2 " ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 3 . 1 1 " Ċ } Ċ Ċ group Ġ= ĠpackageName Ċ version Ġ= Ġplugin Version Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () ĊĠĠĠ Ġj center () Ċ } Ċ Ċ java Ġ{ ĊĠĠĠ Ġsource Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠĠĠ Ġtarget Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 Ċ } Ċ Ċ tasks . with Type < Kotlin Compile > Ġ{ ĊĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 . 8 " Ċ } Ċ Ċ tasks . with Type < Patch Plugin Xml Task > Ġ{ ĊĠĠĠ Ġchange Notes ( file (" info / change - notes . html "). read Text ()) ĊĠĠĠ Ġplugin Description ( file (" info / description . html "). read Text ()) ĊĠĠĠ Ġversion ( plugin Version ) ĊĠĠĠ Ġplugin Id ( packageName ) Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation ( kotlin (" stdlib ", Ġkotlin Version )) ĊĠĠĠ Ġimplementation ( project (": editor ")) Ċ } Ċ Ċ intellij Ġ{ ĊĠĠĠ Ġversion Ġ= Ġ" 2 0 1 8 . 3 " ĊĠĠĠ Ġset Plugins (" kotlin ") ĊĠĠĠ Ġsandbox Directory Ġ= Ġ"${ project . build Dir }/ idea - sandbox " Ċ } Ċ