Plugin distribution is built using the dedicated Gradle buildPlugin
task (Reference: 2.x, 1.x) or Plugin DevKit.
The plugin distribution .jar file contains:
configuration file (META-INF/plugin.xml) (Plugin Configuration File)
classes implementing the plugin functionality
recommended: plugin logo file(s) (META-INF/pluginIcon*.svg) (Plugin Logo)
See Distribution Size for important steps to optimize the plugin distribution file.
Targeting a plugin distribution to a specific OS is not possible (issue).
Plugin Without DependenciesA plugin consisting of a single .jar file is placed in the /plugins directory.
<IDE directory> plugins sample.jar (Plugin distribution) com company Sample.class (Class com.company.Sample ) ... META-INF plugin.xml (Plugin Configuration File) pluginIcon.svg (Plugin Logo) pluginIcon_dark.svg (Plugin Logo, dark variant)
Plugin With DependenciesThe plugin .jar file is placed in the /lib folder under the plugin's "root" folder, together with all required bundled libraries.
All JARs from the /lib folder are automatically added to the classpath (see also Plugin Class Loaders).
Do not repackage libraries into the main plugin JAR file. Otherwise, Plugin Verifier will yield false positives for unresolved classes and methods.
<IDE directory> plugins sample lib lib_foo.jar (Required bundled library #1) lib_bar.jar (Required bundled library #2) ... sample.jar (Plugin distribution) com company Sample.class (Class com.company.Sample ) ... META-INF plugin.xml (Plugin Configuration File) pluginIcon.svg (Plugin Logo) pluginIcon_dark.svg (Plugin Logo, dark variant)
25 March 2025
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4