From ff39b22686e709ac6805eb2454f13d80b56c34e7 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 16 Jun 2020 11:18:33 +0200 Subject: [PATCH] Add changelog entry for proguard --- CHANGES.md | 2 +- vector/build.gradle | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 542ec6c9fc..46a83b881c 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -17,7 +17,7 @@ SDK API changes ⚠️: - Build 🧱: - - + - Enable code optimization (Proguard) Other changes: - diff --git a/vector/build.gradle b/vector/build.gradle index 6177a0a5f4..e198344424 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -192,10 +192,10 @@ android { resValue "bool", "debug_mode", "false" buildConfigField "boolean", "LOW_PRIVACY_LOG_ENABLE", "false" - postprocessing { removeUnusedCode true removeUnusedResources true + // We do not activate obfuscation as it makes it hard then to read crash reports, and it's a bit useless on an open source project :) obfuscate false optimizeCode true proguardFiles 'proguard-rules.pro'