Skip to content

Commit

Permalink
Enable R8 full mode
Browse files Browse the repository at this point in the history
  • Loading branch information
JcMinarro committed Oct 31, 2023
1 parent 8d8463b commit 2242593
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ org.gradle.caching=true
android.nonTransitiveRClass=false

# Disabled R8 full mode
android.enableR8.fullMode=false
android.enableR8.fullMode=true
android.suppressUnsupportedCompileSdk=34
2 changes: 1 addition & 1 deletion stream-chat-android-ui-components-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ android {
debuggable false
}
release {
minifyEnabled false
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.release
}
Expand Down
5 changes: 5 additions & 0 deletions stream-chat-android-ui-components-sample/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,8 @@

-keepattributes LineNumberTable,SourceFile
-renamesourcefileattribute SourceFile

-dontwarn android.telephony.HwTelephonyManager
-dontwarn com.caverock.androidsvg.SVG
-dontwarn com.caverock.androidsvg.SVGParseException
-dontwarn pl.droidsonroids.gif.GifDrawable

0 comments on commit 2242593

Please sign in to comment.