package Ġcom . code e . plugins . loader Ċ Ċ import Ġcom . code e . app . core . plugins . Dependency Ċ import Ġcom . code e . app . core . plugins . Manifest Scope Ċ import Ġcom . code e . plugins . scripts . Manifest Script Configuration Ċ import Ġcom . code e . plugins . scripts . Manifest Script Definition Ċ import Ġkotlinx . coroutines . Dispatch ers Ċ import Ġkotlinx . coroutines . with Context Ċ import Ġjava . io . File Ċ import Ġkotlin . script . experimental . api . Evaluation Result Ċ import Ġkotlin . script . experimental . api . Result With Diagnostics Ċ import Ġkotlin . script . experimental . host . to Script Source Ċ import Ġkotlin . script . experimental . jvm host . Basic Jvm Script ing Host Ċ Ċ class ĠMetadata Script Loader ( private Ġval Ġscope : ĠManifest Scope ) Ġ: ĠFile Script Loader Ġ{ ĊĠĠĠ Ġprivate Ġval Ġj vm Host Ġ= ĠBasic Jvm Script ing Host () ĊĠĠĠ Ġprivate Ġval Ġcompilation Configuration Ġ= ĠManifest Script Definition () ĊĠĠĠ Ġprivate Ġval Ġevaluation Configuration Ġ= ĠManifest Script Configuration ( scope ) ĊĊĠĠĠ Ġval Ġdependencies : ĠCollection < Dependency > Ġget () Ġ= Ġscope . declared Dependencies ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġeval ( script File : ĠFile ): ĠResult With Diagnostics < Evaluation Result > Ġ= ĊĠĠĠĠĠĠĠ Ġwith Context ( Dispatch ers . Default ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġreturn @ with Context Ġj vm Host . eval ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġscript File . to Script Source (), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġcompilation Configuration , ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġevaluation Configuration ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ} Ċ }