1# Allow R8 to optimize away the FastServiceLoader. 2# Together with ServiceLoader optimization in R8 3# this results in direct instantiation when loading Dispatchers.Main 4-assumenosideeffects class kotlinx.coroutines.internal.MainDispatcherLoader { 5 boolean FAST_SERVICE_LOADER_ENABLED return false; 6} 7 8-assumenosideeffects class kotlinx.coroutines.internal.FastServiceLoaderKt { 9 boolean ANDROID_DETECTED return true; 10} 11 12# Disable support for "Missing Main Dispatcher", since we always have Android main dispatcher 13-assumenosideeffects class kotlinx.coroutines.internal.MainDispatchersKt { 14 boolean SUPPORT_MISSING return false; 15} 16 17# Statically turn off all debugging facilities and assertions 18-assumenosideeffects class kotlinx.coroutines.DebugKt { 19 boolean getASSERTIONS_ENABLED() return false; 20 boolean getDEBUG() return false; 21 boolean getRECOVER_STACK_TRACES() return false; 22} 23