aboutsummaryrefslogtreecommitdiffstats
path: root/kotlinx-coroutines-test/resources/META-INF/proguard/coroutines.pro
diff options
context:
space:
mode:
Diffstat (limited to 'kotlinx-coroutines-test/resources/META-INF/proguard/coroutines.pro')
-rw-r--r--kotlinx-coroutines-test/resources/META-INF/proguard/coroutines.pro9
1 files changed, 9 insertions, 0 deletions
diff --git a/kotlinx-coroutines-test/resources/META-INF/proguard/coroutines.pro b/kotlinx-coroutines-test/resources/META-INF/proguard/coroutines.pro
new file mode 100644
index 00000000..41c9eb07
--- /dev/null
+++ b/kotlinx-coroutines-test/resources/META-INF/proguard/coroutines.pro
@@ -0,0 +1,9 @@
+# ServiceLoader support
+-keepnames class kotlinx.coroutines.test.internal.TestMainDispatcherFactory {}
+-keepnames class kotlinx.coroutines.android.AndroidExceptionPreHandler {}
+-keepnames class kotlinx.coroutines.android.AndroidDispatcherFactory {}
+
+# Most of volatile fields are updated with AFU and should not be mangled
+-keepclassmembernames class kotlinx.** {
+ volatile <fields>;
+}