I have two different printer libraries, which are depending on same "java jPOS" library but with different versions,
,
So both printers referencing on same jpos library because they have same package naming, one of this printers (custom-printer) didn't working on version of new library.
Gradle implimintation: implementation files('/home/daniel/Desktop/JPOS_Service_Objects/CBMjpos.jar')
compile group: 'com.custom', name: 'custom-jcl-printer-driver', version: '1.0'
How can i solve it without decompiling and renaming this libraries?
CodePudding user response:
I found very simple tool to repackage the libraries named (jarjar) - https://github.com/shevek/jarjar