vbsteven
01/04/2023, 12:14 PMkpgalligan
01/04/2023, 6:58 PM-include-binary
to add static libs (*.a
) and -native-library
to add a compiled bitcode library (*.bc
). We include C/Objc code into libraries using a library that we definitely do not support because even with that disclaimer we get all kinds of questions, usually related to not understanding llvm, etc. https://github.com/touchlab/cklib. It uses kotlin compiler settings to build C/Objc and pack it in klibs. Live example: https://github.com/cashapp/zipline/blob/trunk/zipline/build.gradle.kts#L154