Skip to content

Commit 0178981

Browse files
committed
update
1 parent 962e537 commit 0178981

File tree

3 files changed

+21
-5
lines changed

3 files changed

+21
-5
lines changed

app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ android {
3030
// signingConfig signingConfigs.release
3131
// }
3232
release {
33-
minifyEnabled true
34-
shrinkResources true
33+
minifyEnabled false // False for fix of a lot crash in release
34+
// shrinkResources true
3535
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
3636
signingConfig signingConfigs.release
3737
versionNameSuffix rootProject.ext.app.betaSuffix

app/proguard-rules.pro

+17-1
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,20 @@
117117
}
118118
## END
119119

120-
-dontwarn android.content.IContentProvider
120+
-dontwarn android.content.IContentProvider
121+
122+
# Retain generic signatures of TypeToken and its subclasses with R8 version 3.0 and higher.
123+
-keep,allowobfuscation,allowshrinking class me.ghui.fruit.reflect.TypeToken
124+
-keep,allowobfuscation,allowshrinking class * extends me.ghui.fruit.reflect.TypeToken
125+
126+
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation
127+
-keep,allowobfuscation,allowshrinking class arrow.retrofit.**
128+
129+
-dontwarn retrofit2.**
130+
-keep class retrofit2.** { *; }
131+
132+
# Keep generic signature of RxJava3 (R8 full mode strips signatures from non-kept items).
133+
-keep,allowobfuscation,allowshrinking class io.reactivex.rxjava3.core.Flowable
134+
-keep,allowobfuscation,allowshrinking class io.reactivex.rxjava3.core.Maybe
135+
-keep,allowobfuscation,allowshrinking class io.reactivex.rxjava3.core.Observable
136+
-keep,allowobfuscation,allowshrinking class io.reactivex.rxjava3.core.Single

config.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
ext {
22
app = [
3-
versionCode: 217,
4-
versionName: "2.1.7"
3+
versionCode: 218,
4+
versionName: "2.1.8"
55
]
66
android = [
77
supportVersion: '26.1.0'

0 commit comments

Comments
 (0)