Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 0332eb1

Browse files
committed
chore: update proguard rules for ide statistics
1 parent fa592a8 commit 0332eb1

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

app/proguard-rules.pro

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,23 @@
8787
native <methods>;
8888
}
8989
-keep class com.itsaky.androidide.treesitter.** { *; }
90+
91+
# Retrofit 2
92+
-dontwarn retrofit2.**
93+
-keep class retrofit2.** { *; }
94+
-keepattributes Signature
95+
-keepattributes Exceptions
96+
97+
-keepclasseswithmembers class * {
98+
@retrofit2.http.* <methods>;
99+
}
100+
101+
# OkHttp3
102+
-keepattributes Signature
103+
-keepattributes *Annotation*
104+
-keep class okhttp3.** { *; }
105+
-keep interface okhttp3.** { *; }
106+
-dontwarn okhttp3.**
107+
108+
# Stat uploader
109+
-keep class com.itsaky.androidide.stats.** { *; }

0 commit comments

Comments
 (0)