dependency

fun dependency(name: String, load: PluginDependency.Load = Load.OMIT, required: Boolean = true, joinClasspath: Boolean = true)

Creates a dependency on a plugin named name in both the Stage.BOOTSTRAP and Stage.SERVER stages. The load order is defined by load, the plugin will require the dependency if required is true, and the plugin's classes will be accessible if joinClasspath is true.


fun dependency(name: String, stage: PluginDependency.Stage, load: PluginDependency.Load = Load.OMIT, required: Boolean = true, joinClasspath: Boolean = true)

Creates a dependency on a plugin named name in the specified stage. The load order is defined by load, the plugin will require the dependency if required is true, and the plugin's classes will be accessible if joinClasspath is true.