Proguard在类上保留注释

时间:2018-07-26 23:02:29

标签: proguard

我正在尝试将注释保留在Proguard处理的类上。我正在使用这个:

-keepattributes Annotation,EnclosingMethod,Signature,LineNumberTable,Exceptions,SourceFile,InnerClasses

还有这个:

-keep @interface org.springframework.stereotype.Service

但是注释仍从我的班级中删除。

显示问题的代码: https://github.com/benji/proguard-keep-annotations

0 个答案:

没有答案