package Ġcom . nis ht ah ir Ċ Ċ import Ġorg . gradle . api . Project Ċ import Ġorg . gradle . api . plugins . Extension Container Ċ import Ġjava . io . File Ċ import Ġkotlin . reflect . K Class Ċ Ċ const Ġval ĠTO OL S _ FOLDER Ġ= Ġ". cargo / toolchain " Ċ Ċ operator Ġfun Ġ< T Ġ: ĠAny > ĠExtension Container . get ( type : ĠK Class < T >): ĠT Ġ= Ġget ByType ( type . java ) ĊĊĊ Ċ fun ĠProject . get Tool chain Directory (): ĠFile Ġ= ĠFile ( project Dir , ĠTO OL S _ FOLDER ) ĊĊ