Andres Almiray
12/26/2025, 10:36 PMproject instance (such as name, description, etc) and other properties defined in gradle.properties for example. As I understand values should be sources from providers, as well as avoid keeping references to “unsactioned” things such as the project instance and non-serializable types.
Is it OK to pass the project instance to the constructor (using @Inject of course) and derive all needed providers from there? Or should I pass all required providers as constructor args?
TIAMartin
12/26/2025, 10:58 PMProject property. I don't even inject it, I pass it explicitely. No problems with CC so farAndres Almiray
12/26/2025, 11:02 PMObjectFactory to have managed/injected args work. Of course one can directly instantiate an extension type and pass args to its constructor, skipping the interface as well.
It's hard to keep up with idioms.Martin
12/26/2025, 11:07 PMproject.extensions.create (doc). You can pass arguments thereMartin
12/26/2025, 11:08 PMMartin
12/26/2025, 11:09 PMMartin
12/26/2025, 11:11 PMtony
12/26/2025, 11:16 PMAndres Almiray
12/26/2025, 11:18 PM