mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Standardize proguard config
git-svn-id: https://zxing.googlecode.com/svn/trunk@2985 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
6ece248e1a
commit
b2f2615b56
|
@ -10,7 +10,7 @@
|
|||
# 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
|
||||
# test thoroughly if you go this route.
|
||||
-optimizations !code/simplification/cast,!field/*,!class/merging/*
|
||||
-optimizations !code/simplification/cast,!field/*,!class/merging/*,!code/allocation/variable
|
||||
-optimizationpasses 5
|
||||
-allowaccessmodification
|
||||
-dontpreverify
|
||||
|
@ -23,6 +23,9 @@
|
|||
-dontskipnonpubliclibraryclasses
|
||||
-verbose
|
||||
|
||||
# ADDED
|
||||
-dontobfuscate
|
||||
|
||||
-keepattributes *Annotation*
|
||||
-keep public class com.google.vending.licensing.ILicensingService
|
||||
-keep public class com.android.vending.licensing.ILicensingService
|
||||
|
|
|
@ -3,10 +3,12 @@
|
|||
#
|
||||
# This file must be checked in Version Control Systems.
|
||||
#
|
||||
# To customize properties used by the Ant build system use,
|
||||
# To customize properties used by the Ant build system edit
|
||||
# "ant.properties", and override values to adapt the script to your
|
||||
# project structure.
|
||||
#
|
||||
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
|
||||
proguard.config=proguard-android-optimize.txt
|
||||
|
||||
# Project target.
|
||||
target=android-19
|
||||
proguard.config=proguard.cfg
|
Loading…
Reference in a new issue