Hey guys, is there a way to access test resources ...
# multiplatform
m
Hey guys, is there a way to access test resources from common code across all platforms? I can’t find a way to make either resources work or to simply load a file from common code supporting all targets. Or maybe there’s a compiler plugin that simply takes the files and converts them into Kotlin
String
or
ByteArray
? 😄 My files (GraphQL schemas) have plenty of
"""
in it so using multiline strings for them is quite hard. Multiline strings don’t even seem to support escaping triple quotes 😔 (GraphQL supports
\"""
for that btw) (And all the
$
signs are even worse)