This commit is contained in:
unknown
2020-07-20 17:16:53 +08:00
parent 8cd08ccc1b
commit e34d2afe1a
28 changed files with 100 additions and 19 deletions

View File

@@ -0,0 +1,2 @@
#-----MogoBaseServiceSdk-----
-keep class com.mogo.base.services.locationinfo.MogoLocationSource.*{*;}

View File

@@ -18,4 +18,7 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-renamesourcefileattribute SourceFile
#-----MogoBaseServiceSdk-----
-keep class com.mogo.base.services.locationinfo.MogoLocationSource.*{*;}

View File

@@ -1,2 +1,6 @@
#-----Foundation-Commons-----
-keep class com.mogo.commons.data.BaseData.*{*;}
-keep class com.mogo.commons.data.BaseData.*{*;}
-keep class com.mogo.commons.voice.VoiceIntentTrack
-keep class com.mogo.commons.voice.VoiceTrack
-keep class com.mogo.commons.voice.VoicePreemptType
-keep interface * implements com.mogo.commons.mvp.IView

View File

@@ -21,4 +21,8 @@
#-renamesourcefileattribute SourceFile
#-----Foundation-Commons-----
-keep class com.mogo.commons.data.BaseData.*{*;}
-keep class com.mogo.commons.data.BaseData.*{*;}
-keep class com.mogo.commons.voice.VoiceIntentTrack
-keep class com.mogo.commons.voice.VoiceTrack
-keep class com.mogo.commons.voice.VoicePreemptType
-keep interface * implements com.mogo.commons.mvp.IView

View File

@@ -15,7 +15,8 @@ android {
buildTypes {
release {
minifyEnabled false
minifyEnabled true
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

View File

@@ -0,0 +1,5 @@
#-----MogoUtils-----
-keep class com.mogo.utils.network.CallerType
-keep class com.mogo.utils.network.CallerRestrictTo
-keep class com.mogo.utils.glide.GlideRoundedCornersTransform.CornerType
-keep class com.mogo.utils.logger.LogLevel

View File

@@ -19,3 +19,9 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
#-----MogoUtils-----
-keep class com.mogo.utils.network.CallerType
-keep class com.mogo.utils.network.CallerRestrictTo
-keep class com.mogo.utils.glide.GlideRoundedCornersTransform.CornerType
-keep class com.mogo.utils.logger.LogLevel