Dependency

@Target(allowedTargets = [])
annotation class Dependency(val id: String, val optional: Boolean = false)

Declares a dependency on another plugin.

Parameters

id

the plugin ID of the dependency

optional

if this dependency is optional or not

Properties

Link copied to clipboard
val id: String
Link copied to clipboard
val optional: Boolean = false