I'm working on a library and I want to target linu...
# multiplatform
b
I'm working on a library and I want to target linux_x64 and mingw_x64 (and probably others later on). I have a nativeMain source set and it only depends on platform.zlib (and transitively platform.posix) which both targets support. No target-specific source sets. Is there a way in Gradle to build a single .klib file that can be consumed by both linux and mingw? (I know typically you need to compile mingw_x64 on windows and linux_x64 on linux, but researching gives me the impression that the klib and its IR might be identical l, except for the target listed in its manifest). Basically I want to avoid publishing a bunch of separate artifacts to maven if one will do