AddonExtension
Contains configuration options for the addonJar task.
Properties
Whether the addonJar output should be added to Origami's run-server plugins. Defaults to true.
(optional) A list of authors of the addon.
(optional) The path to the PluginBootstrap implementation. (e.g. com.example.MyBootstrapper)
(optional) A list of contributors of the addon.
(optional) A list of plugin dependencies.
(optional) A description of the addon.
The destination directory of the addonJar task.
(optional) The path to the PluginLoader implementation.
(optional) The path to the JavaPlugin implementation.
The version of the addon. This is parsed using xenondevs' commons-version and needs to be valid according to that.
Functions
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.
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.