forked from eddysystems/eddy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shrink.pro
78 lines (62 loc) · 2.98 KB
/
shrink.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
-injars eddy.zip(!META-INF/MANIFEST.MF,!META-INF/LICENSE.txt,!META-INF/NOTICE.txt)
-outjars eddy.jar
-dontobfuscate
#-verbose
# This causes problems for some people: "LVTT entry ... does not match any LVT entry"
-optimizations !code/allocation/variable
# Optimization messes with the stack and may cause problems, so never do it
-dontoptimize
### Keep a few things
-keep class com.eddysystems.eddy.EddyPlugin,com.eddysystems.eddy.EddyIntention,com.eddysystems.eddy.CorrectionIntention {
<init>(...);
}
-keep class com.eddysystems.eddy.EddyEnterHandlerDelegate,com.eddysystems.eddy.Preferences {
<init>(...);
}
-keep class com.eddysystems.eddy.actions.NextSuggestion,com.eddysystems.eddy.actions.PrevSuggestion,com.eddysystems.eddy.actions.Reinit {
<init>(...);
}
# Amazon AWS is fragile, careful about these, test logging thoroughly, the failures here are silent
-keep class com.amazonaws.** { *; }
-keep class org.apache.commons.logging.** { public *; }
-keep class org.apache.log4j.Level.** { public *; }
-keep class org.apache.log4j.LogXF.** { public *; }
-keep class org.codehaus.** { public *; }
-keep class org.joda.time.tz.Provider { public *; }
-keep class org.joda.time.tz.NameProvider { public *; }
-keep class com.fasterxml.jackson.databind.** { public *; }
-keep class com.fasterxml.jackson.core.** { public *; }
-keep class com.fasterxml.jackson.annotation.** { public *; }
-keep class org.apache.http.** { public *; }
### Libraries
# Base
-libraryjars /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar
-libraryjars /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar
-libraryjars /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jce.jar
-include .idea/intellij-libs.pro
### Ignore various warnings and notes
# Scala warnings
-dontwarn scala.**
-dontnote scala.**
-dontnote String
# Weird scala issue
-dontwarn tarski.Semantics$$anonfun$denoteStmt$27$$anonfun$tarski$Semantics$$anonfun$$rest$1$1
# Miscellaneous warnings
-dontwarn javax.servlet.ServletContextListener
-dontwarn javax.servlet.ServletContextEvent
-dontwarn org.apache.avalon.framework.logger.Logger
-dontwarn org.apache.log.Logger
-dontwarn org.apache.log.Hierarchy
-dontwarn com.intellij.util.net.ssl.ConfirmingHostnameVerifier
-dontwarn com.intellij.uiDesigner.core.**
# Miscellaneous notes
-dontnote org.apache.http.client.utils.JdkIdn
-dontnote com.amazonaws.metrics.internal.cloudwatch.DefaultMetricCollectorFactory
-dontnote org.bouncycastle.jce.provider.BouncyCastleProvider
-dontnote com.eddysystems.eddy.engine.Formatter$VersionIncompatibilityCircumventer
-dontnote org.apache.commons.logging.impl.Log4JLogger
# Amazon AWS stuff
-dontwarn javax.xml.stream.events.**
-dontwarn org.ietf.jgss.**
-dontwarn org.joda.convert.** # annotations
-dontwarn org.w3c.dom.bootstrap.**