Work around enum + proguard + dex problem

This commit is contained in:
Sean Owen 2015-02-12 14:41:00 +00:00
parent 625d9b77d7
commit 4eb2896eea
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@
# be complete or up to date. (The "arithmetic" optimization can be # be complete or up to date. (The "arithmetic" optimization can be
# used if you are only targeting Android 2.0 or later.) Make sure you # used if you are only targeting Android 2.0 or later.) Make sure you
# test thoroughly if you go this route. # test thoroughly if you go this route.
-optimizations !code/simplification/cast,!field/*,!class/merging/*,!code/allocation/variable,!method/marking/private -optimizations !code/simplification/cast,!field/*,!class/merging/*,!class/unboxing/enum,!code/allocation/variable,!method/marking/private
-optimizationpasses 5 -optimizationpasses 5
-allowaccessmodification -allowaccessmodification
-dontpreverify -dontpreverify

View file

@ -10,7 +10,7 @@
# be complete or up to date. (The "arithmetic" optimization can be # be complete or up to date. (The "arithmetic" optimization can be
# used if you are only targeting Android 2.0 or later.) Make sure you # used if you are only targeting Android 2.0 or later.) Make sure you
# test thoroughly if you go this route. # test thoroughly if you go this route.
-optimizations !code/simplification/cast,!field/*,!class/merging/*,!code/allocation/variable,!method/marking/private -optimizations !code/simplification/cast,!field/*,!class/merging/*,!class/unboxing/enum,!code/allocation/variable,!method/marking/private
-optimizationpasses 5 -optimizationpasses 5
-allowaccessmodification -allowaccessmodification
-dontpreverify -dontpreverify

View file

@ -10,7 +10,7 @@
# be complete or up to date. (The "arithmetic" optimization can be # be complete or up to date. (The "arithmetic" optimization can be
# used if you are only targeting Android 2.0 or later.) Make sure you # used if you are only targeting Android 2.0 or later.) Make sure you
# test thoroughly if you go this route. # test thoroughly if you go this route.
-optimizations !code/simplification/cast,!field/*,!class/merging/*,!code/allocation/variable,!method/marking/private -optimizations !code/simplification/cast,!field/*,!class/merging/*,!class/unboxing/enum,!code/allocation/variable,!method/marking/private
-optimizationpasses 5 -optimizationpasses 5
-allowaccessmodification -allowaccessmodification
-dontpreverify -dontpreverify