Hello,
How to use @Dependency anotation?
Always i have this: “The annotation @Dependency is disallowed for this location”
It goes inside of the @Plugin
annotation.
I solved!
If help other people, heres the solution:
dependencies=@Dependency(id="pluginID", version="version", optional=true/false)
1 Like
If you have more than one dependency, it would go like so:
dependencies={@Dependency(id="pluginID", version="version", optional=true/false), @Dependency(id="pluginID", version="version", optional=true/false)}
3 Likes