hi after upgrading to kotlin 1.9.10 , what is the ...
# multiplatform
a
hi after upgrading to kotlin 1.9.10 , what is the new syntax to solve this warnning ()?
r
Copy code
testTask(Action {
    // ...
})
a
Copy code
testTask(Action{
  useMocha()
})
@Robert Jaros like so ?
r
yes
1
e
Bump Gradle to 8.3 and your original code will be fine IIRC.
h
You can safely ignore this warning in your gradle.build file. After removing this function, Gradle will use the action overload automatically. The warning only exists for plugin authors.
👍 2