Skip to content

Commit

Permalink
chore: proguard retain whole parser class
Browse files Browse the repository at this point in the history
  • Loading branch information
zyrouge committed Dec 28, 2024
1 parent 10c95bd commit 0cb6170
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion metaphony/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ android {

buildTypes {
release {
isMinifyEnabled = false
isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
Expand Down
9 changes: 3 additions & 6 deletions metaphony/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
-keep class me.zyrouge.symphony.metaphony.AudioMetadataParser {
void putTag(java.lang.String, java.lang.String);
void putPicture(java.lang.String, java.lang.String, byte[]);
void putAudioProperty(java.lang.String, int);
boolean readMetadata(java.lang.String, int);
}
-keepattributes LineNumberTable,SourceFile
-renamesourcefileattribute SourceFile
-keep class me.zyrouge.symphony.metaphony.AudioMetadataParser { *; }

0 comments on commit 0cb6170

Please sign in to comment.