Closed diklimchuk closed 3 months ago
@diklimchuk, it seems like once the Compose compiler plugin transformed @Composable
functions, there are no default args anymore, so @JvmOverloads
has no effect. You can check compiled classfiles to ensure that overloads were not included in the dump because they don't exist.
Thank you, this resolves my problem
If i create a composable with @JvmOverloads annotation:
the task
apiDump
generaties a single method instead of two different overloads of the same method:If the same is run without @Composable annotation the task correctly dumps two methods into the api file