Zh Efimenko
06/06/2019, 9:23 PMUtilsTests::class..getResource("/source.pst")
How can I get classpath?Kris Wong
06/06/2019, 9:25 PMZh Efimenko
06/06/2019, 9:57 PMZh Efimenko
06/06/2019, 9:58 PMDominaezzz
06/06/2019, 10:14 PMDominaezzz
06/06/2019, 10:14 PMDominaezzz
06/06/2019, 10:14 PMDominaezzz
06/06/2019, 10:15 PMZh Efimenko
06/07/2019, 5:55 AMArtyom Degtyarev [JB]
06/07/2019, 11:26 AMplatform.posix.*
, with manual opening and reading files you need. I suppose, it also solves your problem with relative paths, it can be managed with standard glob syntax. If you got a case where the program has to bring some data with itself, you can try to use an ImmutableBlob
class for this purpose (https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.native/-immutable-blob/index.html)Zh Efimenko
06/07/2019, 11:46 AM