How to stop proguard from obfuscating entire package?

后端 未结 1 2004
说谎
说谎 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)
提交回复
热议问题