package Ġcom . code e . plugins . loader Ċ Ċ import Ġcom . code e . app . plugins . api . Plugin Scope Ċ import Ġcom . code e . plugins . scripts . Plugin Script Configuration Ċ import Ġcom . code e . plugins . scripts . Plugin Script Definition Ċ 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 ĠPlugin Script Loader ( scope : ĠPlugin Scope , Ġclasspath : ĠCollection < File >) Ġ: ĠFile Script Loader Ġ{ ĊĊĠĠĠ Ġprivate Ġval Ġj vm Host Ġ= ĠBasic Jvm Script ing Host () ĊĠĠĠ Ġprivate Ġval Ġcompilation Configuration Ġ= ĠPlugin Script Definition ( classpath ) ĊĠĠĠ Ġprivate Ġval Ġevaluation Configuration Ġ= ĠPlugin Script Configuration ( scope ) ĊĊĠĠĠ Ġoverride Ġsuspend Ġfun Ġeval ( script File : ĠFile ): ĠResult With Diagnostics < Evaluation Result > Ġ{ ĊĠĠĠĠĠĠĠ Ġreturn Ġj vm Host . eval ( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġscript File . to Script Source (), ĊĠĠĠĠĠĠĠĠĠĠĠ Ġcompilation Configuration , ĊĠĠĠĠĠĠĠĠĠĠĠ Ġevaluation Configuration ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} Ċ }