in my Kotlin library but from a plain Java project, the deprecation is not shown. Is that a known issue or is there anything wrong with my setup? 🤔
Lukas K-G
03/25/2021, 5:50 AM
I have searched the internet and found this which indicates it should work and also some comments that suggest it should not. 🤷 My suspicion is this should work, but I am unsure why it does not.
Lukas K-G
03/25/2021, 5:53 AM
I can see
@kotlin.Deprecated
in the decompiled class files, but no
@Deprecated
.
a
Alexey Belkov [JB]
03/31/2021, 10:30 AM
Is your library available in Maven? Can you share code to reproduce?
l
Lukas K-G
03/31/2021, 11:15 AM
Hi @Alexey Belkov [JB], thanks for answering. Unfortunately I am talking about a closed - source project, so I can’t share easily. (I can try to create a minimal sample though if required).
I found a workaround for this, which is forcing the latest stable R8 version: