Steps required to add custom class templates without creating a java library. You can use it without creating a library at all.
1. Download the attached zip file and put the files in the additional libraries folder.
2. Open the jar file with 7zip or any other zip program. Put all the templates files you like inside the jar. The file extension should be .b4x_excluded.
3. Add a customClass node for each of the templates in the XML file:
<customClass>filenamewithoutextension:MyCustomClass, name:This is my cool class template</customClass>
MyCustomClass matches MyCustomClass.b4x_excluded file.
4. Add a reference to this "library" from your project and the classes will appear:
Note that the library will not add anything to the compiled project.
You can of course change the author and version fields.