is there any way of accessing the `this` object fr...
# announcements
m
is there any way of accessing the
this
object from a delegated extension property? i'm trying to do something like this:
Copy code
val Project.myProp by MyDelegate(this)
where
this
should be the
Project
instance that
myProp
was accessed through, but i'm getting the error that
'this' is not defined in this context
if it matters, i'm trying to write an extension property for gradle edit: sorry, i'm dumb. i forgot that delegates literally get the receiver as the first argument to
getValue
. disregard this.