This message was deleted.
# community-support
s
This message was deleted.
e
write a settings plugin, you can get a
BuildEventsListenerRegistry
injected into it
z
yeah that’s the only way I could figure it out
e
that is the only supported method for getting it
❤️ 1
v
It isn't, is it? Make an interface with a field of that type injected, then use
objects.newObject
to create such an instance and get the property.
e
how do you get an ObjectFactory in settings.gradle?
v
Oh settings script, sorry. Only other way would then be to delay it until the root project is realized if that is sufficient using
gradle.rootProject { ... }