https://kotlinlang.org logo
#arrow-meta
Title
# arrow-meta
m

Mitchell Skaggs

07/10/2021, 3:02 AM
I can't seem to get
arrow-optics-gradle-plugin
working with Kotlin Multiplatform. It uses a Kotlin compiler plugin, so it should work, right? The properties in the companion object are never generated though, whether I put the data class in
commonMain/kotlin
or
jvmMain/kotlin
.
I worked around some existing issues by adding this snippet to my project so the requested dependencies were included in the
common
configuration:
Copy code
val implementation: Configuration by configurations.creating
implementation.extendsFrom(configurations.commonMainImplementation.get())
5 Views