From 953fdce9522ae48fc5f518c8f8b2a14a6bc3202d Mon Sep 17 00:00:00 2001 From: coo1m <254503963@qq.com> Date: Thu, 6 Oct 2022 05:04:09 +0800 Subject: [PATCH] Add proguard rules. --- ASLRecognition/app/proguard-rules.pro | 2 ++ D2Go/ObjectDetection/app/proguard-rules.pro | 2 ++ HelloWorldApp/app/proguard-rules.pro | 2 ++ ImageSegmentation/app/proguard-rules.pro | 2 ++ NativeApp/app/proguard-rules.pro | 2 ++ ObjectDetection/app/proguard-rules.pro | 2 ++ PyTorchDemoApp/app/proguard-rules.pro | 2 ++ QuestionAnswering/app/proguard-rules.pro | 23 ++----------------- Seq2SeqNMT/app/proguard-rules.pro | 2 ++ SpeechRecognition/app/proguard-rules.pro | 2 ++ .../StreamingASR/app/proguard-rules.pro | 2 ++ TorchVideo/app/proguard-rules.pro | 2 ++ ViT4MNIST/app/proguard-rules.pro | 2 ++ 13 files changed, 26 insertions(+), 21 deletions(-) create mode 100644 ASLRecognition/app/proguard-rules.pro create mode 100644 D2Go/ObjectDetection/app/proguard-rules.pro create mode 100644 HelloWorldApp/app/proguard-rules.pro create mode 100644 ImageSegmentation/app/proguard-rules.pro create mode 100644 NativeApp/app/proguard-rules.pro create mode 100644 ObjectDetection/app/proguard-rules.pro create mode 100644 PyTorchDemoApp/app/proguard-rules.pro create mode 100644 Seq2SeqNMT/app/proguard-rules.pro create mode 100644 SpeechRecognition/app/proguard-rules.pro create mode 100644 StreamingASR/StreamingASR/app/proguard-rules.pro create mode 100644 TorchVideo/app/proguard-rules.pro create mode 100644 ViT4MNIST/app/proguard-rules.pro diff --git a/ASLRecognition/app/proguard-rules.pro b/ASLRecognition/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/ASLRecognition/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/D2Go/ObjectDetection/app/proguard-rules.pro b/D2Go/ObjectDetection/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/D2Go/ObjectDetection/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/HelloWorldApp/app/proguard-rules.pro b/HelloWorldApp/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/HelloWorldApp/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/ImageSegmentation/app/proguard-rules.pro b/ImageSegmentation/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/ImageSegmentation/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/NativeApp/app/proguard-rules.pro b/NativeApp/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/NativeApp/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/ObjectDetection/app/proguard-rules.pro b/ObjectDetection/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/ObjectDetection/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/PyTorchDemoApp/app/proguard-rules.pro b/PyTorchDemoApp/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/PyTorchDemoApp/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/QuestionAnswering/app/proguard-rules.pro b/QuestionAnswering/app/proguard-rules.pro index 481bb434..1a8c4e2f 100644 --- a/QuestionAnswering/app/proguard-rules.pro +++ b/QuestionAnswering/app/proguard-rules.pro @@ -1,21 +1,2 @@ -# Add project specific ProGuard rules here. -# You can control the set of applied configuration files using the -# proguardFiles setting in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} - -# Uncomment this to preserve the line number information for -# debugging stack traces. -#-keepattributes SourceFile,LineNumberTable - -# If you keep the line number information, uncomment this to -# hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/Seq2SeqNMT/app/proguard-rules.pro b/Seq2SeqNMT/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/Seq2SeqNMT/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/SpeechRecognition/app/proguard-rules.pro b/SpeechRecognition/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/SpeechRecognition/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/StreamingASR/StreamingASR/app/proguard-rules.pro b/StreamingASR/StreamingASR/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/StreamingASR/StreamingASR/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/TorchVideo/app/proguard-rules.pro b/TorchVideo/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/TorchVideo/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file diff --git a/ViT4MNIST/app/proguard-rules.pro b/ViT4MNIST/app/proguard-rules.pro new file mode 100644 index 00000000..1a8c4e2f --- /dev/null +++ b/ViT4MNIST/app/proguard-rules.pro @@ -0,0 +1,2 @@ +-keep class org.pytorch.** {*;} +-keep class com.facebook.** {*;} \ No newline at end of file