Question: does the Kotlin API have something simil...
# plugin-development
k
Question: does the Kotlin API have something similar to
the()
that retrieves a
BuildService
provider by name or type?
v
In what context?
As you ask in #CA745PZHN I'd say get it injected using
@ServiceReference
Or just do a fresh
registerIfAbsent
call, if it already is registered, you get the previous instance back if it is not in a task impelmentation where you need it