1. SPIGOT-5345: Add automatic library support (details)
Commit 146a7e4bd764990c56bb326643e92eb69f24d27e by md_5 (md_5)
SPIGOT-5345: Add automatic library support

Example plugin.yml usage:
      - com.squareup.okhttp3:okhttp:4.9.0

Libraries will only be accessible to plugins and their transitive depends, allowing for multiple versions of the same library to be used by different plugins.

This feature is modeled on the parallel BungeeCord feature and intends to offer the same behaviour.
Although this is a preview feature, major changes to behaviour are not expected at this point.

With the exception of the issues described in SPIGOT-6419 it is not expected that this feature alters classloading behaviour, although some changes may be unavoidable.
The file was addedsrc/main/java/org/bukkit/plugin/java/
The file was modifiedsrc/main/java/org/bukkit/plugin/
The file was modifiedsrc/main/java/org/bukkit/plugin/java/
The file was modifiedpom.xml
The file was modifiedsrc/main/java/org/bukkit/plugin/java/