Skip to content

Commit 87bcae9

Browse files
committed
Fix wrong Proguard rules
Solves #2046 and #2266.
1 parent 5dd94a3 commit 87bcae9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

kotlinx-coroutines-core/jvm/resources/META-INF/proguard/coroutines.pro

+6
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,9 @@
1212
volatile <fields>;
1313
}
1414

15+
# These classes are only required by kotlinx.coroutines.debug.AgentPremain, which is only loaded when
16+
# kotlinx-coroutines-core is used as a Java agent, so these are not needed in contexts where ProGuard is used.
17+
-dontwarn java.lang.instrument.ClassFileTransformer
18+
-dontwarn sun.misc.SignalHandler
19+
-dontwarn java.lang.instrument.Instrumentation
20+
-dontwarn sun.misc.Signal

0 commit comments

Comments
 (0)