getting some proguard compilation warnings after u...
# coroutines
a
getting some proguard compilation warnings after upgrading to
kotlinx.coroutines 1.2.0
:
Copy code
Warning: kotlinx.atomicfu.AtomicFU: can't find referenced method 'void setInterceptor(kotlinx.atomicfu.AtomicOperationInterceptor)' in program class kotlinx.atomicfu.InterceptorKt
Proguard is configured as per
kotlinx-coroutines-core/resources/META-INF/proguard/coroutines.pro
. I can easily solve this warning by adding a rule to keep the corresponding atomicfu class and its methods, but i was wondering whether it's safe to
-dontwarn
it. I have no warnings when using v1.1.1. Anyone experiencing a similar issue?
1
j
Any solution? @acando86
For now im going with
-dontwarn kotlinx.atomicfu.**
, not sure if it breaks something
a
me neither. that was my original question. i've temporary used
-keep
but obviously i would like to avoid to poison the proguard configuration file with unnecessary keep rules