This is a sample maven workspace for creating plugins for Recaf 2.X
.
The official documentation can be found here: Recaf Docs:Plugins.
The source and javadoc artifacts are also available and can be fetched in your IDE workspace.
Once you've downloaded or cloned the repository, you can compile with mvn clean package
.
This will generate the file target/plugin-{VERSION}.jar
. To add your plugin to Recaf:
- Navigate to the
plugins
folder.- Windows:
%APPDATA%/Recaf/plugins
- Linux:
$HOME/Recaf/plugins
- Windows:
- Copy your plugin jar into this folder
- Run Recaf to verify your plugin loads.