feat: sync httpdns sdk/platform updates without large binaries
This commit is contained in:
70
HttpDNSSDK/sdk/android/httpdns-sdk/proguard-rules.pro
vendored
Normal file
70
HttpDNSSDK/sdk/android/httpdns-sdk/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,70 @@
|
||||
# Add project specific ProGuard rules here.
|
||||
# By default, the flags in this file are appended to flags specified
|
||||
# in /Users/ryan/Downloads/adt-bundle-mac-x86_64-20131030/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 3
|
||||
-dontoptimize
|
||||
-dontusemixedcaseclassnames
|
||||
-dontskipnonpubliclibraryclasses
|
||||
-verbose
|
||||
-overloadaggressively
|
||||
#-allowaccessmodification
|
||||
-useuniqueclassmembernames
|
||||
|
||||
-dontwarn com.newsdk.sdk.android.httpdns.net.HttpDnsNetworkDetector
|
||||
|
||||
-keeppackagenames com.newsdk.sdk.android.httpdns
|
||||
-flattenpackagehierarchy com.newsdk.sdk.android.httpdns
|
||||
-keep class com.newsdk.sdk.android.httpdns.HttpDns{*;}
|
||||
-keep interface com.newsdk.sdk.android.httpdns.HttpDnsService{*;}
|
||||
-keep class com.newsdk.sdk.android.httpdns.impl.ErrorImpl{*;}
|
||||
-keep interface com.newsdk.sdk.android.httpdns.SyncService{*;}
|
||||
-keep class com.newsdk.sdk.android.httpdns.InitConfig{*;}
|
||||
-keep class com.newsdk.sdk.android.httpdns.InitConfig$Builder{*;}
|
||||
-keep class com.newsdk.sdk.android.httpdns.RequestIpType{*;}
|
||||
-keep interface com.newsdk.sdk.android.httpdns.DegradationFilter{*;}
|
||||
-keep interface com.newsdk.sdk.android.httpdns.NotUseHttpDnsFilter{*;}
|
||||
-keep interface com.newsdk.sdk.android.httpdns.HttpDnsCallback{*;}
|
||||
-keep class com.newsdk.sdk.android.httpdns.ranking.IPRankingBean{*;}
|
||||
-keep interface com.newsdk.sdk.android.httpdns.ILogger{*;}
|
||||
-keep interface com.newsdk.sdk.android.httpdns.CacheTtlChanger{*;}
|
||||
-keep class com.newsdk.sdk.android.httpdns.NetType{*;}
|
||||
-keepclasseswithmembers class com.newsdk.sdk.android.httpdns.log.HttpDnsLog {
|
||||
public static *** setLogger(***);
|
||||
public static *** removeLogger(***);
|
||||
public static *** enable(***);
|
||||
}
|
||||
-keep class com.newsdk.sdk.android.httpdns.HTTPDNSResult{*;}
|
||||
-keepclasseswithmembers class com.newsdk.sdk.android.httpdns.HttpDnsSettings {
|
||||
public static *** setDailyReport(***);
|
||||
public static *** setNetworkChecker(***);
|
||||
}
|
||||
|
||||
-keep class com.newsdk.sdk.android.httpdns.net.HttpDnsNetworkDetector {
|
||||
public <methods>;
|
||||
public <fields>;
|
||||
}
|
||||
|
||||
-keep class com.newsdk.sdk.android.httpdns.network.**{*;}
|
||||
|
||||
-keep interface com.newsdk.sdk.android.httpdns.HttpDnsSettings$NetworkChecker{*;}
|
||||
-keep interface com.newsdk.sdk.android.httpdns.HttpDnsSettings$NetworkDetector{*;}
|
||||
-keep class com.newsdk.sdk.android.httpdns.utils.CommonUtil{
|
||||
public <methods>;
|
||||
public <fields>;
|
||||
}
|
||||
-keep enum com.newsdk.sdk.android.httpdns.Region {*;}
|
||||
-keep class com.newsdk.sdk.android.httpdns.exception.InitException{*;}
|
||||
Reference in New Issue
Block a user