When inside a script, is it possible to access the...
# scripting
a
When inside a script, is it possible to access the implicit receiver of the script context? When in
build.gradle.kts
neither
super@getProject()
or
this@Build_gradle.getProject()
work. This is needed in order to ‘punch through’ a
@DslMarker
, to access the root script context. More info in this Gradle issue
i
It looks like a missing feature - the linked issue lists a couple of relevant YT issues.