I am having problems setting up lens generation in a multiplatform project. In step 3 of the setup I have the problem that the following error message is thrown by Gradle:
"Type mismatch: inferred type is String but Action<KspExtension> was expected"
Are multiplatform not supported or does the integration have to be done differently here?
Dirk
07/11/2022, 9:06 AM
message has been deleted
Dirk
07/11/2022, 11:59 AM
I have now found a way to activate the plugin. What would be the recommended way to configure the plugin?
Thank you for pointing this out. I had actually tried to do this in the wrong block:
kotlin -> sourceSets -> commonMain -> dependencies
And not root -> dependencies