Skip to content

Commit

Permalink
Add proguard
Browse files Browse the repository at this point in the history
  • Loading branch information
YoKeyword committed Oct 9, 2017
1 parent 29058e2 commit 87a7247
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 19 deletions.
4 changes: 2 additions & 2 deletions swipeback/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
defaultConfig {
minSdkVersion 9
targetSdkVersion 22
versionCode 1
versionName "1.0"

consumerProguardFiles 'proguard-rules.pro'
}
}

Expand Down
20 changes: 3 additions & 17 deletions swipeback/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /Users/YoKeyword/Documents/android-sdk-macosx/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# 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 *;
#}
-keepclassmembers class android.support.v4.widget.ViewDragHelper {
private <fields>;
}

0 comments on commit 87a7247

Please sign in to comment.