一些config

This commit is contained in:
renhaoting 2026-01-13 16:14:22 +08:00
parent 90620fbcaa
commit edff0c408e
4 changed files with 12 additions and 4 deletions

View File

@ -1,7 +1,6 @@
plugins { plugins {
alias(libs.plugins.androidLibrary) alias(libs.plugins.androidLibrary)
alias(libs.plugins.kotlinAndroid) alias(libs.plugins.kotlinAndroid)
id("com.google.gms.google-services")
id("com.google.firebase.crashlytics") id("com.google.firebase.crashlytics")
} }

View File

@ -29,7 +29,10 @@ android {
} }
release { release {
minifyEnabled false minifyEnabled false
debuggable true debuggable false
firebaseCrashlytics {
mappingFileUploadEnabled false
}
} }
} }

View File

@ -281,7 +281,7 @@
# Gson # Gson
-keep class com.example.testing.retrofitdemo.bean.**{*;} # 自定义数据模型的bean目录
#gson #gson
#如果用用到Gson解析包的直接添加下面这几行就能成功混淆不然会报错 #如果用用到Gson解析包的直接添加下面这几行就能成功混淆不然会报错
@ -315,3 +315,9 @@
-keepclassmembers class * extends android.app.Activity { # 保持自定义控件类不被混淆 -keepclassmembers class * extends android.app.Activity { # 保持自定义控件类不被混淆
public void *(android.view.View); public void *(android.view.View);
} }
# bean目录
-keep class com.viddin.videos.free.VidiDinApp** {*;}
-keep class com.gamedog.vididin.beans.** {*;}
-keep class com.gamedog.vididin.manager.taskbeans.** {*;}
-keep class com.gamedog.vididin.router.** {*;}

View File

@ -16,7 +16,7 @@ import com.remax.notification.controller.NotificationTriggerController
import com.remax.notification.controller.NotificationTriggerController.triggerFixTimeNotification import com.remax.notification.controller.NotificationTriggerController.triggerFixTimeNotification
import com.remax.notification.timing.NotificationTimingController import com.remax.notification.timing.NotificationTimingController
import com.remax.notification.utils.NotiLogger import com.remax.notification.utils.NotiLogger
import com.remax.notification.utils.Topic
/** /**
* 前台保活服务 * 前台保活服务