This message was deleted.
# plugin-development
s
This message was deleted.
v
You mean because of
Action
vs the "function-type"?
o
Gradle's
Action
is annotated with
@HasImplicitReceiver
, so Kotlin allows it to function like
MyType.() -> Unit
, and no extra function is needed.
v
You don't need to provide that, Kotlin lambdas can implement
Action
and thanks to the
sam-with-receiver
plugin you can use the subject as
this
1
So no manual extension function necessary if that was the thought
k
Sounds good.