由于"Maven Central Repository"中目前只有Procyon 0.5.25,即使自己编译Luyten源码,仍然只能与Procyon 0.5.25配合使用。如果强行替换Luyten.jar中所依赖的Procyon的class为0.5.26版,会出错,因为0.5.26与0.5.25相比,有一些类改变过。
我把Luyten与Procyon解耦成Luyten.jar、procyon-decompiler.jar。GUI部分与反编译部分没必要紧耦合。
附件里的Luyten.jar、procyon-decompiler.jar是Procyon 0.5.26。假设以后有Procyon 0.5.27,只需要替换procyon-decompiler.jar即可。
(Since there is only Procyon 0.5.25 in "Maven Central Repository", even if you compile Luyten by yourselfThe source code can still only be used with Procyon 0.5.25. If you forcibly replace the dependencies in Luyten.jarProcyon's class is version 0.5.26, which will cause errors, because 0.5.26 has some classes changed compared to 0.5.25.
I decoupled Luyten and Procyon into Luyten.jar and procyon-decompiler.jar. GUI part and anti-editingThe translation part does not need to be tightly coupled.
Luyten.jar and procyon-decompiler.jar in the attachment are Procyon 0.5.26. Suppose there will beProcyon 0.5.27, just replace procyon-decompiler.jar.)