Wojtek KaliciĆski | d6b0b0f | 2019-06-28 11:41:29 +0200 | [diff] [blame] | 1 | # Entry point for retaining MainDispatcherLoader which uses a ServiceLoader. |
| 2 | -keep class kotlinx.coroutines.Dispatchers { |
| 3 | ** getMain(); |
| 4 | } |
| 5 | |
| 6 | # Entry point for retaining CoroutineExceptionHandlerImpl.handlers which uses a ServiceLoader. |
| 7 | -keep class kotlinx.coroutines.CoroutineExceptionHandlerKt { |
| 8 | void handleCoroutineException(...); |
| 9 | } |
| 10 | |
| 11 | # We are cheating a bit by not having android.jar on R8's library classpath. Ignore those warnings. |
| 12 | -ignorewarnings |