外部图书馆版本冲突
我有两个不同的打印机库,它们取决于相同的“ Java JPOS”库,但具有不同的版本,
,
,
在同一JPOS库上引用的打印机,因为它们具有相同的软件包命名,因此其中一台打印机(Custom-Printer)不适用于新库的版本。
gradle固定:实现文件('/home/daniel/desktop/jpos_service_objects/cbmjpos.jar')
编译组:'com.custom',名称:'custom-jcl-printer-driver',版本:'1.0''
如何解决它而不将此库进行分解和重命名?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我找到了重新包装的非常简单的工具,可以重新包装名为(jarjar)的库 - https://github.com/shevek/shevek/shevek/jarjar < /a>
I found very simple tool to repackage the libraries named (jarjar) - https://github.com/shevek/jarjar