From: Gustavo Martin Morcuende Date: Tue, 30 Aug 2016 16:09:46 +0000 (+0200) Subject: new proguard.rules.pro file, specific ProGuard rules for project X-Git-Tag: weatherinformation-1.2~4 X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=e83583554c2f49e8ccc4ace393d57d344f3919ce;p=AndroidWeatherInformation new proguard.rules.pro file, specific ProGuard rules for project proguard-android.txt can be found in this path: android-sdk-linux/tools/proguard/proguard-android.txt proguard-android.txt contains general rules which apply to every project --- diff --git a/app/build.gradle b/app/build.gradle index 4ccb636..dfd6749 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -25,7 +25,7 @@ android { buildTypes { release { minifyEnabled false - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' + proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' buildConfigField "boolean", "DEBUG_MODE", "false" debuggable false signingConfig signingConfigs.releaseSigning diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro new file mode 100644 index 0000000..126bebd --- /dev/null +++ b/app/proguard-rules.pro @@ -0,0 +1,15 @@ +# Add project specific ProGuard rules here. +# 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 *; +#} \ No newline at end of file