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
Martin
09/09/2024, 1:50 PM
Why not storing it as a property?
v
Vampire
09/09/2024, 2:20 PM
If you attach that extension to
project
, you can just let Gradle inject the
Project
like the services you can inject.
Vampire
09/09/2024, 2:21 PM
Or did you not mean a method in a Gradle extension, but a Kotlin extension function?