// ĠCopyright Ġ 2 0 0 0 - 2 0 2 1 ĠJetBrains Ġs . r . o . Ġand Ġcontributors . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe ĠLICENSE Ġfile . Ċ package Ġorg . jetbrains . kotlin . test Ċ Ċ import Ġcom . intellij . openapi . application . Path Manager Ċ import Ġjava . io . File Ċ Ċ object ĠKotlin Root Ġ{ ĊĠĠĠ Ġ@ Jvm Field ĊĠĠĠ Ġval ĠRE PO : ĠFile Ġ= ĠFile ( Path Manager . get Home Path ()) ĊĊĠĠĠ Ġ@ Jvm Field ĊĠĠĠ Ġval ĠDIR : ĠFile Ġ= ĠRE PO . resolve (" community / plugins / kotlin "). take If Ġ{ Ġit . exists () Ġ} ĊĠĠĠĠĠĠĠ Ġ?: ĠFile ( Path Manager . get Community Home Path ()). resolve (" plugins / kotlin ") Ċ } Ċ