Skip to content

Commit

Permalink
Reenable R8
Browse files Browse the repository at this point in the history
  • Loading branch information
tzugen committed May 21, 2023
1 parent 0f18b20 commit 556d3bb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ android.nonFinalResIds=true
org.gradle.unsafe.configuration-cache=true

# TODO Renable on day (check that Retrofit, Jackson, and Imageloader are working)
android.enableR8.fullMode=false
android.enableR8.fullMode=true

1 change: 0 additions & 1 deletion ultrasonic/minify/proguard-jackson.pro
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#### From Jackson

-keepattributes *Annotation*,EnclosingMethod,Signature
-keepnames class com.fasterxml.jackson.** {
*;
Expand Down
10 changes: 8 additions & 2 deletions ultrasonic/minify/proguard-main.pro
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
-dontobfuscate

### Don't remove subsonic api serializers/entities
-keep class org.moire.ultrasonic.api.subsonic.response.** { *; }
-keep class org.moire.ultrasonic.api.subsonic.models.** { *; }
-keep class org.moire.ultrasonic.api.subsonic.** { *; }

## Don't remove the domain models
-keep class org.moire.ultrasonic.domain.** { *; }

## Don't remove the imageloader
-keep class org.moire.ultrasonic.imageloader.** { *; }
-keep class org.moire.ultrasonic.provider.AlbumArtContentProvider { *; }

## Don't remove NowPlayingFragment
-keep class org.moire.ultrasonic.fragment.NowPlayingFragment { *; }

0 comments on commit 556d3bb

Please sign in to comment.