-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from kshoji/feature/add-proguard-20240408
Add proguard configuration
- Loading branch information
Showing
3 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
-keep public class jp.kshoji.driver.midi.** { | ||
public protected *; | ||
} | ||
-keep public class jp.kshoji.driver.usb.util.** { | ||
public protected *; | ||
} | ||
-keep public class jp.kshoji.javax.sound.midi.** { | ||
public protected *; | ||
} | ||
-keep public class jp.kshoji.unity.midi.** { | ||
public protected *; | ||
} | ||
|
||
-keepparameternames | ||
-renamesourcefileattribute SourceFile | ||
-keepattributes Signature,Exceptions,*Annotation*, | ||
InnerClasses,PermittedSubclasses,EnclosingMethod, | ||
Deprecated,SourceFile,LineNumberTable | ||
|
||
-keepclassmembers,allowoptimization enum * { | ||
public static **[] values(); | ||
public static ** valueOf(java.lang.String); | ||
} | ||
|
||
-keepclassmembers class * implements java.io.Serializable { | ||
static final long serialVersionUID; | ||
private static final java.io.ObjectStreamField[] serialPersistentFields; | ||
private void writeObject(java.io.ObjectOutputStream); | ||
private void readObject(java.io.ObjectInputStream); | ||
java.lang.Object writeReplace(); | ||
java.lang.Object readResolve(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters