I had the same question. Here is how I developed it:
In the library project:
- copy the jar file to the / libs directory
- add the jar to the assembly path (right-click on the jar, select "Assembly path", add the assembly path)
- export the jar to make it visible to dependent projects (right-click on the jar, select "Configure assembly path", tab "Order and Export", check the jar)
In a dependent project:
- add the jar to the build path of the project (right-click on the project, select "Configure build path", the "Libraries" tab, "add JAR" and go to the jar file in the library project)
source share