Robert Jaros
08/06/2023, 10:37 AMjs { runTask { ... } }
in my build.gradle.kts
I see a deprecation warning 'runTask(KotlinWebpack.() -> Unit): Unit' is deprecated. Please use runTask(Action)
, but how can I fix this?Oliver.O
08/06/2023, 11:53 AMRobert Jaros
08/06/2023, 11:56 AMRobert Jaros
08/06/2023, 11:57 AMOliver.O
08/06/2023, 12:05 PMhfhbd
08/06/2023, 2:38 PMAction
is a fun interface so you can use it with the applied SAM plugin with Kotlin as T.() ->
Unit`. Only for build scripts libraries the depreciation note is relevant due to changing api.