what is the best way to get access t project from ...
# community-support
k
what is the best way to get access t project from Extension method without storing it as property? Or should I move project based logic to other places like ValueSources and BuildServices?
m
Why not storing it as a property?
v
If you attach that extension to
project
, you can just let Gradle inject the
Project
like the services you can inject.
Or did you not mean a method in a Gradle extension, but a Kotlin extension function?