2015-05-15 16:37:43 +08:00
|
|
|
# Add project specific ProGuard rules here.
|
|
|
|
# By default, the flags in this file are appended to flags specified
|
|
|
|
# in E:\developSoftware\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 *;
|
|
|
|
#}
|
2017-11-23 09:08:50 +08:00
|
|
|
|
|
|
|
# Proguard Cocos2d-x for release
|
|
|
|
-keep public class org.cocos2dx.** { *; }
|
|
|
|
-dontwarn org.cocos2dx.**
|
|
|
|
-keep public class com.chukong.** { *; }
|
|
|
|
-dontwarn com.chukong.**
|
2018-05-11 15:07:19 +08:00
|
|
|
-keep public class com.huawei.android.** { *; }
|
2017-11-23 09:08:50 +08:00
|
|
|
-dontwarn com.huawei.android.**
|
|
|
|
|
|
|
|
# Proguard Apache HTTP for release
|
|
|
|
-keep class org.apache.http.** { *; }
|
|
|
|
-dontwarn org.apache.http.**
|
|
|
|
|
2019-06-06 17:15:17 +08:00
|
|
|
-keep public class com.cocos2dx.** { *; }
|
|
|
|
-dontwarn com.cocos2dx.**
|
|
|
|
|
2017-11-23 09:08:50 +08:00
|
|
|
# Proguard Android Webivew for release. uncomment if you are using a webview in cocos2d-x
|
|
|
|
#-keep public class android.net.http.SslError
|
|
|
|
#-keep public class android.webkit.WebViewClient
|
|
|
|
|
|
|
|
#-dontwarn android.webkit.WebView
|
|
|
|
#-dontwarn android.net.http.SslError
|
|
|
|
#-dontwarn android.webkit.WebViewClient
|