|
186 | 186 | # Because of coil crash: Error: java.io.IOException: canceled due to java.lang.VerifyError: Bad return type |
187 | 187 | -keep class okio.** { *; } |
188 | 188 |
|
| 189 | +# Navigation3: ProGuard optimization strips class hierarchy causing VerifyError |
| 190 | +# (NavigationEventInfo not assignable to SceneInfo) |
| 191 | +-keep class androidx.navigation3.** { *; } |
| 192 | +-keep class androidx.navigationevent.** { *; } |
| 193 | + |
189 | 194 |
|
190 | 195 | # ---- Targeted fixes for Kotlinx Serialization + Ktor Resources VerifyError (keep optimizations on) ---- |
191 | 196 | # Keep the internal descriptor class to avoid optimizer rewriting causing bad bytecode |
|
247 | 252 | -dontnote sun.misc.Unsafe |
248 | 253 | -dontwarn sun.misc.Unsafe |
249 | 254 |
|
| 255 | +# HtmlUnit + Apache Commons Logging |
| 256 | +# Commons Logging uses reflection to find LogFactoryImpl at runtime |
| 257 | +-keep class org.apache.commons.logging.** { *; } |
| 258 | +-keep class org.htmlunit.** { *; } |
| 259 | +-dontwarn org.htmlunit.** |
| 260 | +-dontwarn org.apache.commons.logging.** |
| 261 | + |
| 262 | +# HtmlUnit transitive dependencies loaded via reflection/ServiceLoader |
| 263 | +-dontwarn net.sourceforge.htmlunit.** |
| 264 | +-dontwarn org.apache.http.** |
| 265 | +-dontwarn org.eclipse.jetty.** |
| 266 | + |
| 267 | +# HtmlUnit + Apache Commons Logging |
| 268 | +# Commons Logging uses reflection to find LogFactoryImpl at runtime |
| 269 | +-keep class org.apache.commons.logging.** { *; } |
| 270 | +-keep class org.htmlunit.** { *; } |
| 271 | +-dontwarn org.htmlunit.** |
| 272 | +-dontwarn org.apache.commons.logging.** |
| 273 | + |
| 274 | +# HtmlUnit transitive dependencies loaded via reflection/ServiceLoader |
| 275 | +-dontwarn net.sourceforge.htmlunit.** |
| 276 | +-dontwarn org.apache.http.** |
| 277 | +-dontwarn org.eclipse.jetty.** |
| 278 | + |
250 | 279 | # FlatLaF Look and Feel |
251 | 280 | -keep class com.formdev.flatlaf.** { *; } |
252 | 281 | -keep class com.formdev.flatlaf.extras.** { *; } |
|
0 commit comments