To bundle your widget and add it to a Yellowfin instance via the Plugin Manager, export all of your project contents into a .jar file and upload it to your Yellowfin instance.
Any i4 jars that you have referenced should not be added to your jar (for more info, take a look at our wiki page for Plugin Development Basics), but any other jar files that you may have added should be.