You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
Currently if I want to embed some binary resource in executable, i need to dump it to something like
val `tetris_all.bmp` = immutableBinaryBlobOf(0x42, 0x4D, 0xF6, .....)
and add to source files.
It works, but IMHO is too complex for this simple task.
Can you please add some command-line and gradle-DSL options to do it directly, without intermediate tetris_all.bmp.kt file?
The text was updated successfully, but these errors were encountered:
Yeah, idea is good, but we not yet sure how it better be done. I see the following options:
compiler switch like -binary variable_name,file_path which shall create an top level object
named variable_name of type BinaryBlob with the content of the provided file
Gradle DSL verb, like withBinary {} which produces source code artifact, which could be then linked regularly
Currently if I want to embed some binary resource in executable, i need to dump it to something like
and add to source files.
It works, but IMHO is too complex for this simple task.
Can you please add some command-line and gradle-DSL options to do it directly, without intermediate
tetris_all.bmp.kt
file?The text was updated successfully, but these errors were encountered: