Skip to content

Commit 2b8d77c

Browse files
committed
Build: Remove unnecessary encrypted logging proguard rules
The 'automattic-logging' library defines these Proguard rules already, via its 'consumer-rules.pro' file, and thus those are automatically applies to any module that uses this dependency. consumer-rules.pro: https://github.com/Automattic/EncryptedLogging/blob/ trunk/encryptedlogging/consumer-rules.pro
1 parent a9ea500 commit 2b8d77c

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

WooCommerce-Wear/proguard-rules.pro

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@
6868
-keep class uk.co.senab.photoview.** { *; }
6969
###### Zendesk - end
7070

71-
###### Encrypted Logs - begin
72-
-dontwarn java.awt.*
73-
-keep class com.sun.jna.* { *; }
74-
-keepclassmembers class * extends com.sun.jna.* { public *; }
75-
###### Encrypted Logs - end
76-
7771
###### Glide - begin
7872
-keep class com.bumptech.glide.GeneratedAppGlideModuleImpl { *; }
7973
###### Glide - end

WooCommerce/proguard-rules.pro

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@
6868
-keep class uk.co.senab.photoview.** { *; }
6969
###### Zendesk - end
7070

71-
###### Encrypted Logs - begin
72-
-dontwarn java.awt.*
73-
-keep class com.sun.jna.* { *; }
74-
-keepclassmembers class * extends com.sun.jna.* { public *; }
75-
###### Encrypted Logs - end
76-
7771
###### Glide - begin
7872
-keep class com.bumptech.glide.GeneratedAppGlideModuleImpl { *; }
7973
###### Glide - end

libs/fluxc/consumer-rules.pro

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
# public *;
1717
#}
1818

19-
## Encrypted Logging Start
20-
-dontwarn java.awt.*
21-
-keep class com.sun.jna.* { *; }
22-
-keepclassmembers class * extends com.sun.jna.* { public *; }
23-
## Encrypted Logging End
24-
2519
##---------------Begin: proguard configuration for Gson ----------
2620
# Gson uses generic type information stored in a class file when working with fields. Proguard
2721
# removes such information by default, so configure it to keep all of it.

0 commit comments

Comments
 (0)