Skip to content

Commit

Permalink
Update proguard rules
Browse files Browse the repository at this point in the history
  • Loading branch information
LinZong committed Sep 21, 2024
1 parent 44e6c28 commit 086977b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -330,4 +330,5 @@ obj/

# End of https://www.toptal.com/developers/gitignore/api/androidstudio,android,intellij,kotlin,gradle
install_debug.sh
install_release.sh
install_release.sh
/aliyun-emas-services.json
16 changes: 9 additions & 7 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-keep class io.netty.* { *; }
-keep class org.apache.* { *; }
-keep class org.slf4j.* { *; }
-keep class org.apache.* { *; }
-keep class reactor.blockhound.* { *; }
-keep class com.alibaba.* { *; }
-keep public class com.alibaba.fastjson2.* { *; }
-keep class io.netty.** { *; }
-keep class org.apache.** { *; }
-keep class org.slf4j.** { *; }
-keep class org.apache.** { *; }
-keep class reactor.blockhound.** { *; }
-keep class com.alibaba.** { *; }
-keep class com.alibaba.fastjson2.** { *; }
-keep class kotlin.** { *; }
-keep class kotlinx.** { *; }
-keep class * implements moe.nemesiss.hostman.proguard.NoProguard { *; }
-dontwarn **

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
Expand Down

0 comments on commit 086977b

Please sign in to comment.