mirror of https://github.com/tauri-apps/tauri
fix(core): prevent Proguard from optimizing away custom ser/de classes (#10982)
This commit is contained in:
parent
c901d9fdf9
commit
be18ed50d8
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"tauri": patch:bug
|
||||
---
|
||||
|
||||
Add a Proguard rule to prevent custom JSON deserializer and serializer classes from being optimized away.
|
|
@ -28,4 +28,14 @@
|
|||
*;
|
||||
}
|
||||
|
||||
-keep @com.fasterxml.jackson.databind.annotation.JsonDeserialize public class * {
|
||||
*;
|
||||
}
|
||||
|
||||
-keep @com.fasterxml.jackson.databind.annotation.JsonSerialize public class * {
|
||||
*;
|
||||
}
|
||||
|
||||
-keep class * extends com.fasterxml.jackson.databind.JsonDeserializer { *; }
|
||||
|
||||
-keep class * extends com.fasterxml.jackson.databind.JsonSerializer { *; }
|
||||
|
|
Loading…
Reference in New Issue