*
This commit is contained in:
12
app/proguard-rules.pro
vendored
Normal file
12
app/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
# app 壳混淆规则(release)
|
||||
# S0 骨架期保持最小规则集,S5 发布阶段随业务实体补全
|
||||
|
||||
# kotlinx.serialization:保留序列化器生成逻辑(S1 业务 DTO 接入后按类型名细化)
|
||||
-keepattributes *Annotation*, InnerClasses
|
||||
-dontnote kotlinx.serialization.AnnotationsKt
|
||||
|
||||
# OkHttp / Retrofit
|
||||
-dontwarn okhttp3.**
|
||||
-dontwarn okio.**
|
||||
-dontwarn javax.annotation.**
|
||||
-keepattributes Signature, Exceptions
|
||||
Reference in New Issue
Block a user