Skip to content

Commit

Permalink
Fix espresso kotlin access by retaining kotlin.* libraries in proguard.
Browse files Browse the repository at this point in the history
Fixes #1139

PiperOrigin-RevId: 400770842
  • Loading branch information
brettchabot authored and copybara-androidxtest committed Oct 4, 2021
1 parent 6ef6b0e commit ccd60ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proguard_binary.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@
java.lang.Object readResolve();
}

# Preserve Kotlin runtime libraries.
-keep class kotlin.** { *; }

# Skipping analysis of some classes may make proguard strip something that's
# needed.
-dontskipnonpubliclibraryclasses
Expand Down

0 comments on commit ccd60ba

Please sign in to comment.