I'm working with multiple Java Play projects and I want to work with my subproject in a different way than I do now but I don't know how to do that. I'm working with three projects, let's call them A, B and Sub. Sub is my subproject and it used in A and B in a different way, but both projects need Sub. At the moment, I have two times the code of Sub in: [A-Project]/modules/sub [B-Project]/modules/sub
Twice the same code which needs to be synchronized. I'd like to pack my subproject just in an archive like a JAR-file and include it in both projects A and B as a library. Is there a way to do that or do I have to work with two different folders for the same project? :/
Thank you for your help!