我正在尝试混淆Scala代码。如果源代码中存在对象/案例类,则重命名过程将始终失败并引发以下异常:
Caused by: java.io.IOException: An error ('duplicate entry: A/A/A.class') occured during the remapping! See the log!)
“重复”的原因是scala将对象转换为两个类: 例如:
objec Person(name: String)
====================== after compile ====================================
Person.class
Person$.class
有人知道如何修复它吗,非常感谢