akurasov
akurasov
Do you use Kotlin multiplatform gradle plugin? Since Compose is published like a multiplatform solution, this plugin is required for dependency resolution
>Or is there any way I could convert this project using Compose to a project using the multiplatform plugin? Yes, it is quite easy. Replace kotlin("jvm") version "1.5.31" with kotlin("multiplatform")...
What are these custom functions for?
As an option, you could split code in two modules. Use Compose+mpp plugin in one module and custom imports in another.
>>I could do that, but I would still have to execute includeImplementation.resolvedConfiguration.firstLevelModuleDependencies in the other module dependening on the compose module, which would lead to the same error Could you...
I guess you meant don not provide. What exactly is missing?
Let me try to reproduce it locally. IDEA 213 indeed uses very old kotlin plugin, but there was no such issue, as far as I remember.
What are the versions of Kotlin plugins that you use?
I generated the MPP project with freshly downloaded Idea2021.3 and it was built fine. The difference I see - there is no "application" line in my build.gradle.kts. Could you try...
Your new build.gradle.kts is identical to what I got from IDEA 212.4RC and that works without issues. Could you put your whole project somewhere? Also, could you try to build...