Hook
annotation class Hook(val plugins: Array<String>, val unless: Array<String> = [], val requireAll: Boolean = false, val loadListener: KClass<out LoadListener> = LoadListener::class)
An annotation to mark a class as a hook.
Parameters
plugins
The names of the plugins that this hook works with.
requireAll
Whether all plugins in plugins have to be loaded for this hook to be loaded.
loadListener
The LoadListener that is used to wait for the plugin to finish loading.