# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/sumirrowu/Library/Android/sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
#   http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
#   public *;
#}

-optimizationpasses 5

#混淆时不会产生形形色色的类名
-dontusemixedcaseclassnames

#指定不去忽略非公共的库类
-dontskipnonpubliclibraryclasses

#不预校验
#-dontpreverify

#不优化输入的类文件
-dontoptimize

-ignorewarnings

-verbose

#优化
#-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*

#保护内部类
-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod

#四大组件
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.view.View

-keep public class com.bytedance.sdk.openadsdk.*{ public *; }
-keep public class com.bytedance.sdk.openadsdk.adapter.*{ public *; }
# keep已keep方法的参数类型及参数名称
-keepparameternames

# volley网络库
-keep public interface com.bytedance.sdk.component.adnet.face.IHttpStack {*;}
-keep public class com.bytedance.sdk.component.adnet.core.Request{ public *; }
-keep public class com.bytedance.sdk.component.adnet.core.Header{ public *; }
-keep public class com.bytedance.sdk.component.adnet.core.HttpResponse{ public *; }
-keep public class com.bytedance.sdk.component.adnet.err.VAdError{ public *; }

-keep class com.pgl.sys.ces.* {*;}

# applog混淆避免外部冲突
-keep public interface com.uodis.** { *; }