I\'m compiling a Kotlin library jar with Gradle using the Kotlin gradle plugin:
apply plugin: \'kotlin\'
I\'m trying to find a way to pass a sim
Try this:
compileKotlin { kotlinOptions.includeRuntime = true }
UPD btw this exact option includeRuntime couldn't work because it is not Gradle way. There are many options to build jar with dependencies in Gradle: Gradle – Create a Jar file with dependencies, Gradle Shadow
includeRuntime