Commit 1921f8bc authored by p x's avatar p x
Browse files

添加混淆规则

parent 99e022f0
...@@ -118,7 +118,7 @@ dokka { ...@@ -118,7 +118,7 @@ dokka {
offlineMode.set(true) offlineMode.set(true)
} }
dokkaPublications.javadoc { dokkaPublications.javadoc {
moduleName.set("CMapSDK") moduleName.set("CMapSdk")
// moduleVersion.set(project.version.toString()) // moduleVersion.set(project.version.toString())
description = "Android 地图SDK" description = "Android 地图SDK"
// Standard output directory for HTML documentation // Standard output directory for HTML documentation
......
...@@ -18,4 +18,33 @@ ...@@ -18,4 +18,33 @@
# If you keep the line number information, uncomment this to # If you keep the line number information, uncomment this to
# hide the original source file name. # hide the original source file name.
#-renamesourcefileattribute SourceFile #-renamesourcefileattribute SourceFile
\ No newline at end of file #---- 四维地图 ----
-keep class com.minedata.minenavi.**{*;}
-dontwarn com.minedata.minenavi.**
#2D地图:
-keep class com.amap.api.maps2d.**{*;}
-keep class com.amap.api.mapcore2d.**{*;}
#3D地图 V5.0.0之后:
-keep class com.amap.api.maps.**{*;}
-keep class com.autonavi.**{*;}
-keep class com.amap.api.trace.**{*;}
#定位:
-keep class com.amap.api.location.**{*;}
-keep class com.amap.api.fence.**{*;}
-keep class com.autonavi.aps.amapapi.model.**{*;}
#搜索:
-keep class com.amap.api.services.**{*;}
#导航 V7.3.0及以后:
-keep class com.amap.api.navi.**{*;}
-keep class com.alibaba.mit.alitts.*{*;}
-keep class com.google.**{*;}
#导航 V8.1.0及以后:
-keep class com.amap.api.navi.**{*;}
-keep class com.alibaba.idst.nui.* {*;}
-keep class com.google.**{*;}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment