Permalink
Browse files

proguard safety

  • Loading branch information...
1 parent c29e081 commit 274918fa5969f17a1ded73f4707040a2780b03ed @chrisrhoden chrisrhoden committed Jun 14, 2013
Showing with 7 additions and 20 deletions.
  1. +4 −0 build.gradle
  2. +3 −0 proguard-player-hater.txt
  3. +0 −20 proguard-project.txt
View
@@ -18,6 +18,10 @@ signing {
android {
buildToolsVersion "17"
compileSdkVersion 16
+
+ defaultConfig {
+ proguardFile 'proguard-player-hater.txt'
+ }
}
uploadArchives {
@@ -0,0 +1,3 @@
+# Player Hater Plugins are instantiated and used utilizing reflection,
+# so they need to be protected from proguard.
+-keep public class * implements org.prx.playerhater.PlayerHaterPlugin
View
@@ -1,20 +0,0 @@
-# To enable ProGuard in your project, edit project.properties
-# to define the proguard.config property as described in that file.
-#
-# Add project specific ProGuard rules here.
-# By default, the flags in this file are appended to flags specified
-# in ${sdk.dir}/tools/proguard/proguard-android.txt
-# You can edit the include path and order by changing the ProGuard
-# include property in project.properties.
-#
-# 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 *;
-#}

0 comments on commit 274918f

Please sign in to comment.