Riccardo Montagnin
03/12/2019, 6:42 AMcommonTest
without any jvm
or other module? If I try to run gradle check
I get the following error:
> Task :compileKotlinJvm
e: ...: Unresolved reference: Json
Where Json
is imported as
import kotlinx.serialization.json.Json
And my dependencies are the following:
kotlin.sourceSets {
commonMain.dependencies {
api "org.jetbrains.kotlinx:kotlinx-serialization-runtime-common:$serialization_version"
}
}
spand
03/12/2019, 6:45 AMRiccardo Montagnin
03/12/2019, 6:51 AMcommonMain
module has all the dependencies, but running the tests on the JVM does not seem to see themspand
03/12/2019, 6:54 AMkotlinx-serialization-runtime
) as a jvm dependencyRiccardo Montagnin
03/12/2019, 6:57 AMSam
03/12/2019, 12:54 PM