With the new service injection and the removal of ...
# declarative-gradle
p
With the new service injection and the removal of project access, how do you apply (old) plugins? Especially during a transition period, it could be necessary to support regular plugins and features.
p
You need to declare your apply action as unsafe with
.withUsafeApplyAction()
. Then you can get the
PluginManager
service injected.
👍 1