Has anyone publishing libraries for Compose ran in...
# compose
z
Has anyone publishing libraries for Compose ran into any issues with top-level composable functions missing from published artifacts? Or rather, they seem to be there in the class files, but consuming modules can’t access them. I’m seeing classes and interfaces in such a library, but the top level composable functions are not accessible.
I’ve published other libraries without this problem (afaik), so i’m guessing there’s something wrong with how i’m creating the artifacts…
e
only thing I can think of, is there anything that might be stripping out the kotlin module metadata?
z
yep, that was it. some bad config copied in from an old project. Don’t do this folks 🙈:
Copy code
packagingOptions.excludes += "**/*.kotlin_*"