zt
10/08/2022, 4:21 AMJeff Lockhart
10/08/2022, 4:00 PMkotlin {
jvm()
linuxX64()
...
}
JVM target isn't specific to Windows, but will run on all JVM compatible machines.zt
10/08/2022, 4:02 PMJeff Lockhart
10/08/2022, 4:09 PMzt
10/08/2022, 4:10 PMexpect
functions in my common code then the actual declarations in the specific platform that uses platform apisJeff Lockhart
10/08/2022, 4:12 PMzt
10/08/2022, 4:24 PMJeff Lockhart
10/08/2022, 4:36 PM<http://java.io|java.io>.File.separator
(more details).Jeff Lockhart
10/08/2022, 4:40 PMkotlin {
mingwX64()
linuxX64()
...
}
zt
10/08/2022, 4:44 PMJeff Lockhart
10/08/2022, 4:49 PMJeff Lockhart
10/08/2022, 4:55 PMkotlin {
jvm("jvmWindows")
jvm("jvmLinux")
sourceSets {
val jvmWindowsMain by getting {
...
}
val jvmLinuxMain by getting {
...
}
}
}
This would create two separate JVM source sets, where you could implement actuals for common expects on two separate JVM platform targets.eygraber
10/08/2022, 4:56 PM