Skip to content

Instantly share code, notes, and snippets.

@rbrott
Created October 13, 2018 19:30
Show Gist options
  • Save rbrott/b921749525bacb8e97ad2cd8bbaceeba to your computer and use it in GitHub Desktop.
Save rbrott/b921749525bacb8e97ad2cd8bbaceeba to your computer and use it in GitHub Desktop.
FTC SDK/Road Runner Proguard Rules
# Avoid touching the FTC SDK
-keep class com.qualcomm.** {*;}
-keep class org.firstinspires.** {*;}
-keep class com.google.blocks.** {*;}
-keep class com.vuforia.** {*;}
-keep class javax.** {*;}
-dontwarn com.qualcomm.**
-dontwarn org.firstinspires.**
-dontwarn com.vuforia.**
-dontwarn com.sun.**
# Op modes
-keep public class * extends com.qualcomm.robotcore.eventloop.opmode.OpMode
# Kotlin
-dontwarn kotlin.**
# ACME libs
# this keep is actually required for serialization
-keep class com.acmerobotics.** {*;}
-dontwarn com.acmerobotics.**
# Other deps
-dontwarn com.fasterxml.**
-dontwarn org.yaml.**
-dontwarn org.apache.**
-dontwarn com.google.gson.**
# Misc
-dontnote **
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment