Creating a java API library

So Ive been working on a java multipurpose engine (JME) and would like to know how would i put it into a library type format such as that of LIBGDX or Slick where you import it as a jar file.

You export it as a jar…

Also, someone will likely say it, so I’ll be first. JME is generally associated with JMonkey Engine.

Yeah literally just put it in a jar file then include it in your resources folder for a new project you are going to use it in. Add it to the project and then use it as a normal library.