mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-05-21 09:21:20 +00:00
remove unused annotations
This commit is contained in:
parent
978d76ed7c
commit
3a354524f3
37 changed files with 6 additions and 183 deletions
13
app/proguard-rules.pro
vendored
13
app/proguard-rules.pro
vendored
|
@ -1,15 +1,3 @@
|
|||
# Keep classes and methods that have the @UsedForTesting annotation
|
||||
-keep @helium314.keyboard.annotations.UsedForTesting class *
|
||||
-keepclassmembers class * {
|
||||
@helium314.keyboard.annotations.UsedForTesting *;
|
||||
}
|
||||
|
||||
# Keep classes and methods that have the @ExternallyReferenced annotation
|
||||
-keep @helium314.keyboard.annotations.ExternallyReferenced class *
|
||||
-keepclassmembers class * {
|
||||
@helium314.keyboard.annotations.ExternallyReferenced *;
|
||||
}
|
||||
|
||||
# Keep native methods
|
||||
-keepclassmembers class * {
|
||||
native <methods>;
|
||||
|
@ -20,7 +8,6 @@
|
|||
-keep class helium314.keyboard.latin.Dictionary
|
||||
-keep class helium314.keyboard.latin.NgramContext
|
||||
-keep class helium314.keyboard.latin.makedict.ProbabilityInfo
|
||||
-keep class helium314.keyboard.latin.utils.LanguageModelParam
|
||||
|
||||
# after upgrading to gradle 8, stack traces contain "unknown source"
|
||||
-keepattributes SourceFile,LineNumberTable
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue