05nelsonm/gradle-kmp-configuration-plugin

Fix `KotlinJsTargetDsl` API usage

05nelsonm opened this issue · 0 comments

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 use Action
  • Update the TargetWasmContainer.Configure.wasm() method to use Action