-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: kari-ts <kari@tailscale.com>
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
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,21 @@ | ||
# Keep all classes with native methods | ||
-keepclasseswithmembernames class * { | ||
native <methods>; | ||
} | ||
|
||
# Keep specific classes from Tink library | ||
-keep class com.google.crypto.tink.** { *; } | ||
|
||
# Ignore warnings about missing Error Prone annotations | ||
-dontwarn com.google.errorprone.annotations.** | ||
|
||
# Keep Error Prone annotations if referenced | ||
-keep class com.google.errorprone.annotations.** { *; } | ||
|
||
# Keep Google HTTP Client classes | ||
-keep class com.google.api.client.http.** { *; } | ||
-dontwarn com.google.api.client.http.** | ||
|
||
# Keep Joda-Time classes | ||
-keep class org.joda.time.** { *; } | ||
-dontwarn org.joda.time.** |