Proguard with Cordova Android 4? -


i had proguard running release builds when cordova built ant, gradle used project's release builds aren't being obfuscated (my "cordova build --release android" output shows step :cordovalib:mergereleaseproguardfiles, no other proguard/minification/obfuscation entries).

with ant, project.properties file referred proguard-project.txt file using proguard.config parameter.

how configure work cordova uses gradle?

have @ updated proguard documentation, have change build.gradle file.

change buildtype release section

android { ...    buildtypes {     release {         minifyenabled true         proguardfiles getdefaultproguardfile('proguard-android.txt'),         'proguard-rules.pro'     }   } } 

Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -