How to stop proguard from obfuscating entire package?

后端 未结 1 2006
说谎
说谎 2021-02-07 04:48

I need to prevent Proguard from obfuscating any classes from the package com.foo.*.

I have tried:

-keep com.foo.** {
    ;
            


        
1条回答
  •  悲哀的现实
    2021-02-07 05:18

    Try to use the following:

    -keep class com.foo.** {
      public protected private *;
    }
    

    0 讨论(0)
提交回复
热议问题