jw
11/24/2020, 9:51 PMkotlin.targets.all { target ->
target.compilations.all { compilation ->
compilation.compileKotlinTask.dependsOn(generate.get())
}
}
to add a dependency on a source-generating task. My project is configured with both legacy and IR for JS, but when I print out the targets that this applies to the IR ones are missing:
compilation 'main' (target jsLegacy (js))
compilation 'test' (target jsLegacy (js))
compilation 'main' (target jvm (jvm))
compilation 'test' (target jvm (jvm))
compilation 'main' (target metadata (common))
IR compilation seems to be occurring first, which results in an empty artifact that eventually fails downstream.
Is it expected that the IR compilation tasks would not show up here?jw
11/25/2020, 10:21 PM