Skip to content

Commit 807bb63

Browse files
committed
feat: update ProGuard rules to include re2j library and suppress warnings
1 parent 928d9e8 commit 807bb63

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

androidApp/proguard-rules.pro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@
212212
-keep class org.simpmusic.lyrics.models.** { *; }
213213
-keep class com.simpmusic.lyrics.parser.** { *; }
214214

215+
-keep class com.google.re2j.** { *; }
216+
-dontwarn com.google.re2j.Matcher
217+
-dontwarn com.google.re2j.Pattern
218+
215219
-keep class * extends androidx.room.RoomDatabase { <init>(); }
216220

217221
-dontwarn io.sentry.android.core.SentryLogcatAdapter

composeApp/proguard-desktop-rules.pro

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,5 +251,9 @@
251251
-keep class org.simpmusic.lyrics.models.** { *; }
252252
-keep class com.simpmusic.lyrics.parser.** { *; }
253253

254+
-keep class com.google.re2j.** { *; }
255+
-dontwarn com.google.re2j.Matcher
256+
-dontwarn com.google.re2j.Pattern
257+
254258
-keep class * extends androidx.room.RoomDatabase { <init>(); }
255259
-keep class androidx.datastore.preferences.** { *; }

0 commit comments

Comments
 (0)