add proguard
This commit is contained in:
@@ -15,7 +15,9 @@ android {
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
minifyEnabled true
|
||||
zipAlignEnabled true
|
||||
consumerProguardFiles 'consumer-rules.pro'
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
#-----library-MapAMap-----
|
||||
-keep class com.mogo.map.impl.amap.hook.BnHooker.*{*;}
|
||||
3
libraries/map-amap/proguard-rules.pro
vendored
3
libraries/map-amap/proguard-rules.pro
vendored
@@ -19,3 +19,6 @@
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
|
||||
#-----library-MapAMap-----
|
||||
-keep class com.mogo.map.impl.amap.hook.BnHooker.*{*;}
|
||||
@@ -15,7 +15,9 @@ android {
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
minifyEnabled true
|
||||
zipAlignEnabled true
|
||||
consumerProguardFiles 'consumer-rules.pro'
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
#-----library-MapApi----
|
||||
-keep class com.mogo.map.search.geo.MogoRegeocodeResult.*{*;}
|
||||
3
libraries/mogo-map-api/proguard-rules.pro
vendored
3
libraries/mogo-map-api/proguard-rules.pro
vendored
@@ -19,3 +19,6 @@
|
||||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
|
||||
#-----library-MapApi----
|
||||
-keep class com.mogo.map.search.geo.MogoRegeocodeResult.*{*;}
|
||||
Reference in New Issue
Block a user