I'm trying to include output of copy task in jvm resources inside multiplatform project, but they're not effectively present in jar, not avaiable to run task. Is there proper way to do it? Other than modyfing jar and run tasks.
Copy code
kotlin.jvm().compilations["main"].defaultSourceSet.resources.compiledBy(someCopyTask){
val directoryProperty = project.objects.directoryProperty()
directoryProperty.set(someCopyTaskOutputDir)
directoryProperty
}