ProGuard configuration for Guava with obfuscation and optimization

前端 未结 10 1477
臣服心动
臣服心动 2020-12-07 12:04

Looking for a ProGuard configuration for Guava that will obfuscate and optimize, as the default one that is provided on the website does not.

Not only that I cannot

10条回答
  •  青春惊慌失措
    2020-12-07 12:47

    For Guava 20.0 you need to add also:

    # Guava 20.0
    -dontwarn com.google.errorprone.annotations.CanIgnoreReturnValue
    -dontwarn com.google.errorprone.annotations.concurrent.LazyInit
    -dontwarn com.google.errorprone.annotations.ForOverride
    

提交回复
热议问题