Any Ideas why this does not compile: <https://gith...
# multiplatform
t
h
Actual compiler output would be helpful
t
I just found out that it actually compiles in gradle... just not in IDEA somehow
h
From the project structure I just saw that you want to have additional java tests. Is there a specific reason why?
t
We are migrating a library to a kotlin mpp, but we have to stay compatible with the java version so we would like to run our existing java tests against the migrated lib
h
Sounds reasonable. Until now I thought pure java tests were not possible in mpp. And thats probably also what is happening, gradle picks up your tests as a separate source set (which should work fine I guess).
But maybe you can add the test/java folder to the jvm source sets
t
as in
kotlin.sourceSets.jvmTest.kotlin.srcDirs += "src/test/java"
?
h
Yeah, does it work? I never used the jvmWithJava target, but that would be my idea