package Ġcom . compiler . server . configuration Ċ Ċ import Ġcom . compiler . server . model . bean . Libraries File Ċ import Ġcom . compiler . server . model . bean . VersionInfo Ċ import Ġorg . springframework . beans . factory . annotation . Value Ċ import Ġorg . springframework . boot . context . properties . Configuration Properties Ċ import Ġorg . springframework . boot . context . properties . Enable Configuration Properties Ċ import Ġorg . springframework . context . annotation . Bean Ċ import Ġorg . springframework . context . annotation . Configuration Ċ import Ġorg . springframework . format . Formatter Registry Ċ import Ġorg . springframework . web . servlet . config . annotation . Web Mvc Configurer Ċ import Ġjava . io . File Ċ Ċ @ Configuration Ċ @ Enable Configuration Properties ( value Ġ= Ġ[ Libraries Folder Properties :: class ]) Ċ class ĠApplication Configuration ( ĊĠ Ġ@ Value ("\ ${ kotlin . version }") Ġprivate Ġval Ġversion : ĠString , ĊĠ Ġ@ Value ("\ ${ arrow . version }") Ġprivate Ġval Ġarrow Version : ĠString , ĊĠ Ġprivate Ġval Ġlibraries Folder Properties : ĠLibraries Folder Properties Ċ ) Ġ: ĠWeb Mvc Configurer Ġ{ ĊĠ Ġoverride Ġfun Ġadd Format ters ( registry : ĠFormatter Registry ) Ġ{ ĊĠĠĠ Ġregistry . add Converter ( Project Converter ()) ĊĠ Ġ} ĊĊĠ Ġ@ Bean ĊĠ Ġfun Ġversion Info () Ġ= ĠVersion Info ( ĊĠĠĠ Ġversion Ġ= Ġversion . substring Before ("- "), ĊĠĠĠ Ġarrow Version Ġ= Ġarrow Version ĊĠ Ġ) ĊĊĠ Ġ@ Bean ĊĠ Ġfun Ġlibraries Files () Ġ= ĠLibraries File ( ĊĠĠĠ ĠFile ( libraries Folder Properties . jvm ) ĊĠ Ġ) Ċ } Ċ Ċ @ Configuration Properties ( prefix Ġ= Ġ" libraries . folder ") Ċ class ĠLibraries Folder Properties Ġ{ ĊĠ Ġlateinit Ġvar Ġj vm : ĠString Ċ }