forked from nova-video-player/aos-Video
-
Notifications
You must be signed in to change notification settings - Fork 0
/
proguard-project.txt
206 lines (170 loc) · 7.06 KB
/
proguard-project.txt
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-dontshrink
-dontoptimize
-dontobfuscate
-renamesourcefileattribute SourceFile
-keepattributes SourceFile,LineNumberTable
-keepattributes Exceptions,InnerClasses
-keep class com.archos.mediacenter.video.browser.BrowserByCling { *; }
-keep class com.archos.mediacenter.video.browser.BrowserBySeason
-keep class com.archos.mediacenter.video.browser.BrowserCategoryVideo
-keep class com.archos.mediacenter.utils.SambaPreferencesFragment
-keep class com.archos.mediacenter.utils.BrowserLayout {
private void setCoverLeftAnim(int);
}
-keep class com.archos.mediacenter.video.utils.VideoPreferencesFragment
-keep class com.archos.mediacenter.LibAvosReceiver
-keep class com.archos.mediaprovider.LibAvosReceiver
-keep class com.archos.mediacenter.video.utils.CodecDiscovery {*;}
#### MediaLib ####
-keep class com.archos.medialib.AvosMediaPlayer {
private void postEventFromNative(java.lang.Object, int, int, int, java.lang.Object);
}
-keep class com.archos.medialib.Subtitle {
public java.lang.Object createTimedTextSubtitle(int, int, java.lang.String);
public java.lang.Object createTimedBitmapSubtitle(int, int, int, int, android.graphics.Bitmap);
}
-keep class com.archos.medialib.AvosMediaMetadataRetriever {
private long mMediaMetadataRetrieverHandle;
}
-keep class com.archos.medialib.AvosMediaPlayer {
private long mMediaPlayerHandle;
private long mNativeWindowHandle;
}
-keep class com.archos.medialib.AvosBitmapHelper {
public android.graphics.Bitmap createRGBBitmap(int[], int, int, int, int, int, int);
}
-keep class com.archos.mediacenter.video.browser.Browser** { *; }
-keep class org.fourthline.** { *; }
-keep interface org.fourthline.** { *; }
-keep class org.eclipse.jetty.** { *;}
-keep interface org.eclipse.jetty.** { *;}
-keep interface org.seamless.http.** { *;}
-keep class com.bubblesoft.** { *;}
-keep interface com.bubblesoft.** { *;}
-keep interface com.google.vrtoolkit.cardboard.** { *; }
-dontwarn com.google.vrtoolkit.cardboard.**
-dontnote com.google.vrtoolkit.cardboard.**
#-keepattributes *Annotation*, InnerClasses
##################
-dontwarn javax.**
-dontwarn java.awt.**
-dontwarn com.sun.**
-dontwarn org.seamless.**
-dontwarn com.bubblesoft.**
-dontnote com.bubblesoft.**
-dontwarn org.fourthline.**
-dontnote org.fourthline.**
-dontwarn org.eclipse.jetty.**
-dontnote org.eclipse.jetty.**
-dontnote com.apple.**
# retrofit
-dontwarn com.google.gson.**
-dontnote com.google.gson.**
-dontwarn rx.*
-keep class com.google.gson.** { *; }
-keep class com.google.inject.** { *; }
-keep class org.apache.http.** { *; }
-keep class org.apache.james.mime4j.** { *; }
-keep class javax.inject.** { *; }
-keep class rx.** { *; }
-keep class com.example.testobfuscation.** { *; }
-keepattributes Signature
-keep class sun.misc.Unsafe { *; }
-keep class com.google.gson.examples.android.model.** { *; }
-keepclassmembers class * implements java.io.Serializable {
static final long serialVersionUID;
private static final java.io.ObjectStreamField[] serialPersistentFields;
private void writeObject(java.io.ObjectOutputStream);
private void readObject(java.io.ObjectInputStream);
java.lang.Object writeReplace();
java.lang.Object readResolve();
}
-keepattributes Signature
-keep class com.google.android.gms.** { *; }
-dontwarn com.google.android.gms.**
-dontwarn com.squareup.picasso.OkHttpDownloader
#joda time
-dontwarn org.joda.convert.**
-dontwarn org.joda.time.**
-keep class org.joda.time.** { *; }
-keep interface org.joda.time.** { *; }
#apache http
-keep class org.apache.http.** { *; }
-keepclassmembers class org.apache.http.** {*;}
-dontwarn org.apache.**
-keep class android.net.http.** { *; }
-keepclassmembers class android.net.http.** {*;}
-dontwarn android.net.*
#jsch
-keep class com.jcraft.jsch.**
-keep interface com.jcraft.jsch.**
# Platform calls Class.forName on types which do not exist on Android to determine platform.
##-dontnote retrofit2.Platform
# Platform used when running on Java 8 VMs. Will not be used at runtime.
##-dontwarn retrofit2.Platform$Java8
# Retain generic type information for use by reflection by converters and adapters.
-keepattributes Signature
# Retain declared checked exceptions for use by a Proxy instance.
-keepattributes Exceptions
-dontwarn okio.**
#okhttp3
-dontwarn okhttp3.internal.platform.ConscryptPlatform
-dontwarn org.ietf.**
-dontwarn java.lang.annotation.Annotation
## retrofit2 rules https://github.com/square/retrofit/blob/master/retrofit/src/main/resources/META-INF/proguard/retrofit2.pro
# Retrofit does reflection on generic parameters. InnerClasses is required to use Signature and
# EnclosingMethod is required to use InnerClasses.
-keepattributes Signature, InnerClasses, EnclosingMethod
# Retrofit does reflection on method and parameter annotations.
-keepattributes RuntimeVisibleAnnotations, RuntimeVisibleParameterAnnotations
# Retain service method parameters when optimizing.
-keepclassmembers,allowshrinking,allowobfuscation interface * {
@retrofit2.http.* <methods>;
}
# Ignore annotation used for build tooling.
-dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
# Ignore JSR 305 annotations for embedding nullability information.
-dontwarn javax.annotation.**
# Guarded by a NoClassDefFoundError try/catch and only used when on the classpath.
-dontwarn kotlin.Unit
# Top-level functions that can only be used by Kotlin.
-dontwarn retrofit2.KotlinExtensions
-dontwarn retrofit2.KotlinExtensions$*
# With R8 full mode, it sees no subtypes of Retrofit interfaces since they are created with a Proxy
# and replaces all potential values with null. Explicitly keeping the interfaces prevents this.
-if interface * { @retrofit2.http.* <methods>; }
-keep,allowobfuscation interface <1>
# JSCH
-keep class com.jcraft.jsch.jce.*
-keep class * extends com.jcraft.jsch.KeyExchange
-keep class com.jcraft.jsch.**
-keep class com.jcraft.jzlib.ZStream
-keep class com.jcraft.jsch.Compression
-keep class org.ietf.jgss.*
-dontwarn org.ietf.jgss.**
# Please add these rules to your existing keep rules in order to suppress warnings.
# This is generated automatically by the Android Gradle plugin.
-dontwarn org.bouncycastle.jsse.BCSSLParameters
-dontwarn org.bouncycastle.jsse.BCSSLSocket
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
-dontwarn org.conscrypt.Conscrypt$Version
-dontwarn org.conscrypt.Conscrypt
-dontwarn org.conscrypt.ConscryptHostnameVerifier
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
-dontwarn org.openjsse.net.ssl.OpenJSSE