chrmelchior
01/20/2020, 4:29 PMcompileKotlin
closure is not present in KMP projects. Does anyone know how to configure it? I suspect I’m missing something trivial, but cannot seem to find any documentation for compiler arguments for KMP projects.chrmelchior
01/20/2020, 5:29 PMkotlin {
targets.all {
compilations.all {
kotlinOptions {
freeCompilerArgs = ["-Xplugin=${project.rootDir}/create-plugin/build/libs/create-plugin-all.jar"]
}
}
}
sourceSets {
all {
dependencies {
api project(path: ':create-plugin', configuration: 'shadow')
}
}
//...
}
//...
}
Rachel
01/20/2020, 5:36 PMRachel
01/20/2020, 5:36 PMchrmelchior
01/20/2020, 5:39 PMUnresolved reference: synthetic
for some unknown reason and I’m currently trying to figure out how to debug what is happeningRachel
01/20/2020, 5:41 PMRachel
01/20/2020, 5:41 PMchrmelchior
01/20/2020, 5:44 PMbuild/classes/kotlin/jvm
somewhere, but so far I’m coming up short?Rachel
01/20/2020, 5:52 PMHelloWorld.kt
. On the other hand, synthetic
comes from io.arrow-kt:arrow-annotations
dependency. I hope it's useful for you 👍chrmelchior
01/20/2020, 5:56 PMRachel
01/20/2020, 6:02 PM