Skip to content

Commit 2784cc8

Browse files
author
tans.tan
committed
[feat] Update proguard.
1 parent c1c8852 commit 2784cc8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

app/proguard-rules.pro

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,12 @@
4242
-keep class net.jpountz.** {*;}
4343
-keep class sun.security.** {*;}
4444

45-
-dontwarn org.codehaus.mojo.animal_sniffer.*
45+
-dontwarn org.codehaus.mojo.animal_sniffer.*
46+
47+
#Netty
48+
-keepattributes Signature,InnerClasses
49+
-keepclasseswithmembers class io.netty.** {*;}
50+
-keepnames class io.netty.** {*;}
51+
-keepclassmembernames class io.netty.buffer.AbstractByteBufAllocator {*;}
52+
-keepclassmembernames class io.netty.buffer.AdvancedLeakAwareByteBuf {*;}
53+
-keep public class io.netty.util.ReferenceCountUtil {*;}

0 commit comments

Comments
 (0)