-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
proguard.pro
94 lines (84 loc) · 4.16 KB
/
proguard.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
-printusage shrinking.output
-dontobfuscate
-dontoptimize
-keepattributes *Annotation*,EnclosingMethod
-keep public class com.github.dreamhead.moco.bootstrap.Main {
public static void main(java.lang.String[]);
}
-keep public class com.github.dreamhead.moco.parser.deserializer.*{*;}
-keep public class com.github.dreamhead.moco.parser.model.*{*;}
-keep public class com.github.dreamhead.moco.parser.model.websocket.*{*;}
-keep public class com.github.dreamhead.moco.resource.reader.TemplateRequest{*;}
-keep public class com.github.dreamhead.moco.resource.reader.TemplateRequest$TemplateClient{*;}
-keep public class com.github.dreamhead.moco.Moco{*;}
-keep public class com.github.dreamhead.moco.MocoRest{*;}
-keep public class com.github.dreamhead.moco.HttpMethod{*;}
-keep public class com.github.dreamhead.moco.Runner{*;}
-keep public class com.github.dreamhead.moco.Runnable{*;}
-keep public class com.github.dreamhead.moco.MocoRunner{*;}
-keep public class com.github.dreamhead.moco.handler.*{*;}
-keep public class com.github.dreamhead.moco.dumper.*{*;}
-keep public class com.github.dreamhead.moco.MocoJsonRunner{*;}
-keep public class com.github.dreamhead.moco.util.Jsons{*;}
-keep public class com.github.dreamhead.moco.resource.Transformer{*;}
-keep public class com.github.dreamhead.moco.runner.ShutdownRunner{
public int shutdownPort();
}
-keep public class org.apache.hc.client5.http.ssl.SSLConnectionSocketFactory{*;}
-keep public class org.apache.hc.client5.http.impl.classic.HttpClientBuilder{*;}
-keep public class org.apache.hc.client5.http.impl.io.PoolingHttpClientConnectionManagerBuilder{*;}
-keep public class org.apache.hc.core5.http.message.BasicClassicHttpRequest{*;}
-keep public class org.apache.hc.core5.http.message.BasicClassicHttpResponse{*;}
-keep public class org.apache.hc.core5.http.io.HttpClientResponseHandler{*;}
-keep public class org.apache.hc.client5.http.config.RequestConfig{*;}
-keep public class org.apache.hc.client5.http.ClientProtocolException{*;}
-keep public class org.apache.hc.client5.http.impl.classic.CloseableHttpClient{*;}
-keep public class org.apache.hc.core5.http.ClassicHttpResponse{*;}
-keep public class org.apache.hc.core5.http.HttpResponse{*;}
-keep public class org.apache.hc.core5.http.HttpMessage{*;}
-keep public class org.apache.hc.core5.http.MessageHeaders{*;}
-keep public class org.apache.hc.core5.http.Header{*;}
-keep public class com.google.common.io.Files{*;}
-keep public class com.google.common.collect.ImmutableMultimap{*;}
-keep public class org.slf4j.LoggerFactory{*;}
-keep public class ch.qos.logback.**{*;}
-keep public class org.apache.commons.logging.impl.SimpleLog{*;}
-keep public class org.apache.commons.logging.impl.LogFactoryImpl{*;}
-keep public class com.fasterxml.jackson.core.type.TypeReference{*;}
-keepclassmembers class * extends java.lang.Enum {
<fields>;
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep public class io.netty.channel.DefaultChannelPipeline{*;}
-keep public class io.netty.handler.codec.http.cookie.DefaultCookie{*;}
-keep public class io.netty.handler.codec.http.cookie.CookieHeaderNames{*;}
-keep public class io.netty.handler.codec.http.cookie.CookieHeaderNames$SameSite{*;}
-keep public class com.ctc.wstx.stax.WstxInputFactory{*;}
-keep public class com.ctc.wstx.stax.WstxOutputFactory{*;}
#jce.jar
-dontwarn org.apache.http.impl.auth.**
#jsse.jar
-dontwarn org.apache.http.conn.**
-dontwarn org.apache.http.impl.**
-dontwarn io.netty.**
-dontwarn com.jayway.jsonpath.spi.impl.JacksonProvider
-dontwarn com.jayway.jsonpath.spi.json.JsonOrgJsonProvider
-dontwarn com.jayway.jsonpath.spi.json.JettisonProvider**
-dontwarn com.jayway.jsonpath.spi.json.TapestryJsonProvider
-dontwarn com.jayway.jsonpath.spi.mapper.JsonOrgMappingProvider
-dontwarn ch.qos.logback.core.**
-dontwarn ch.qos.logback.classic.**
-dontwarn freemarker.**
-dontwarn org.slf4j.**
-dontwarn org.apache.log4j.**
-dontwarn org.apache.commons.logging.**
-dontwarn com.google.**
-dontwarn net.sf.cglib.**
-dontwarn org.osgi.framework.**
-dontwarn com.ctc.wstx.**
-dontwarn jakarta.json.**
-dontwarn org.conscrypt.**
-dontwarn org.brotli.dec.**
-dontwarn edu.umd.cs.findbugs.annotations.**
-dontwarn com.sun.jna.**