Fix `KotlinJsTargetDsl` API usage
05nelsonm opened this issue · 0 comments
05nelsonm commented
Kotlin 1.8.20-Beta
removed dsl functions that accepted a Function
and replaced it with Action
. This breaks their API compatibility and, as this plugin is being compiled with 1.8.0
currently, results in an error when compiling a project using 1.8.20-Beta
because the method is no longer there.
See https://youtrack.jetbrains.com/issue/KT-57068/KotlinJsTargetDsl.kt-API-broken
- Update the
TargetJsContainer.Configure.js()
method to useAction
- Update the
TargetWasmContainer.Configure.wasm()
method to useAction