Yokan / rebuild
Course 1 8624561

release-rules.pro

composeApp/release-rules.pro

configuration / resource13 lines
1# Release shrinking (desktop ProGuard and Android R8) is limited to the Material icon packages:2# material-icons-extended is a 36 MB jar with one class per icon, of which the app references3# ~100. Every other class, member and attribute is kept verbatim so reflective/JNI paths4# (JavaFX WebKit, JNA/libmpv and the kmp-mpv JNI bridge, Room, Zipline/QuickJS, ONNX Runtime,5# kotlinx.serialization, Ktor/OkHttp) behave exactly like the unshrunk build. On Android,6# yokan-ext also loads Mihon extension APKs in-process (DexClassLoader parented to the app), and7# those link against the app's copies of OkHttp, Okio, Jsoup, RxJava, Injekt, kotlinx and the8# Kotlin stdlib, so no library API may be shrunk away either. Widening the shrink needs smoke9# coverage of each of those paths first.10-keep class !androidx.compose.material.icons.**, ** { *; }11-keepattributes *12-dontwarn **13-dontnote **14

Search chapters, reference and source filenames.