GarouDan
03/15/2019, 6:41 PMkotlin("multiplatform")
plugin we can do something like:
val jvmMain by getting {
...
}
but how our build process knows that if we write jvmMain2
in the variable name instead of jvmMain
our sourceset does not exist?
My motivation is that I would like to do something similar, probably using my buildSrc
, but I don’t know which kind of magic we are using here.
Is the kotlin build process somehow extracting the variable names and comparing them with the available sourcesets?r4zzz4k
03/15/2019, 6:49 PMGarouDan
03/15/2019, 6:58 PM