From 785d5ed83b861109ead2ef7050a5a2af29cce925 Mon Sep 17 00:00:00 2001 From: mattvchandler Date: Thu, 28 Mar 2019 12:10:06 -0800 Subject: [PATCH] fix proguard rules to prevent crash in release build --- app/build.gradle | 2 +- app/proguard-rules.pro | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index fcfcac9..5836151 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'kotlin-android' ext.ver_major = 1 ext.ver_minor = 0 -ext.ver_patch = 3 +ext.ver_patch = 4 ext.min_sdk = 19 private Integer gen_version_code() diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 93ea022..f541f27 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -31,14 +31,14 @@ public ; } --keepclasseswithmembers class android.databinding.ObservableInt { +-keepclasseswithmembers class androidx.databinding.ObservableInt { void set(int); } --keepclasseswithmembers class android.databinding.ObservableFloat { +-keepclasseswithmembers class androidx.databinding.ObservableFloat { void set(float); } --keepclasseswithmembers class android.support.v4.content.ContextCompat { +-keepclasseswithmembers class androidx.core.content.ContextCompat { int getColor(android.content.Context, int); } -keepclasseswithmembers class org.mattvchandler.a2050.R$array {