build: update fragment to 1.2.4

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-04-02 00:17:10 +05:30 committed by Jason A. Donenfeld
parent 2e573a66a4
commit 7d31bd2be9
2 changed files with 9 additions and 1 deletions

View File

@ -20,7 +20,7 @@ buildscript {
coreKtxVersion = '1.2.0' coreKtxVersion = '1.2.0'
coroutinesVersion = '1.3.5' coroutinesVersion = '1.3.5'
eddsaVersion = '0.3.0' eddsaVersion = '0.3.0'
fragmentVersion = '1.2.3' fragmentVersion = '1.2.4'
jsr305Version = '3.0.2' jsr305Version = '3.0.2'
junitVersion = '4.13' junitVersion = '4.13'
kotlinVersion = '1.3.71' kotlinVersion = '1.3.71'

View File

@ -4,3 +4,11 @@
# Retain some information to keep stacktraces usable # Retain some information to keep stacktraces usable
-keepattributes SourceFile,LineNumberTable -keepattributes SourceFile,LineNumberTable
# Fragment 1.2.4 allows Fragment classes to be obfuscated but
# databinding references in XML seem to not be rewritten to
# match, so we preserve the names as 1.2.3 did.
-if public class ** extends androidx.fragment.app.Fragment
-keep public class <1> {
public <init>();
}