Files

14 lines
519 B
Prolog

# R8 rules shared by all extensions (applied in settings.gradle.kts).
-dontobfuscate
-dontoptimize
-keepattributes *
# Extension classes are only called by bytecode that patches add, so R8 sees no uses of them.
# Keep everything except the Kotlin standard library, which R8 then trims to what extension code
# uses. Listing only your extension packages here would also shrink other libraries, but a package
# missing from that list is removed without any build error.
-keep class !kotlin.**,!kotlinx.**,** {
*;
}