https://kotlinlang.org logo
Title
z

zak.taccardi

06/18/2019, 7:53 PM
where are
typealias
stored in Kotlin metadata?
I’m using:
# Remove Kotlin @Metadata on all classes
-keepattributes !RuntimeVisibleAnnotations
to strip kotlin metadata with proguard. But I would like to find a way to just keep a specific typealias
e

elizarov

06/18/2019, 9:38 PM
Why would need to keep typealias after ProGuard? It is only used by compiler, you don’t need it at run time.
z

zak.taccardi

06/18/2019, 9:39 PM
We are an SDK, so we proguard the artifacts we deploy
e

elizarov

06/18/2019, 9:45 PM
It lives inside
kotiln.Metadata
annotation that is attached to the facade class of the file where this typealias is declared in.
👍 1