proguard-rules.pro 849 B

12345678910111213141516171819202122232425
  1. # ProGuard rules for ultralytics_yolo and its dependencies
  2. -dontwarn java.beans.**
  3. -dontwarn org.yaml.snakeyaml.**
  4. -keep class org.yaml.snakeyaml.** { *; }
  5. -keepclassmembers class org.yaml.snakeyaml.** { *; }
  6. # Google Play Services
  7. -dontwarn com.google.android.gms.**
  8. -keep class com.google.android.gms.** { *; }
  9. # Kotlin
  10. -dontwarn kotlin.**
  11. -keep class kotlin.** { *; }
  12. -dontwarn org.jetbrains.annotations.**
  13. # General Flutter ProGuard rules
  14. -keep class io.flutter.app.** { *; }
  15. -keep class io.flutter.plugin.** { *; }
  16. -keep class io.flutter.util.** { *; }
  17. -keep class io.flutter.view.** { *; }
  18. -keep class io.flutter.** { *; }
  19. -keep class io.flutter.plugins.** { *; }
  20. # Allow obfuscation of everything else but keep metadata for plugins
  21. -keepattributes Signature,Exceptions,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod,InnerClasses