Please confirm it is NOT possible to apply a plugin in a init file

plugins

(NIC) #1

Continuing the discussion from Best approach to apply custom plugin to root project via init script in a custom distribution:

Hello,
I am confused by the multiple posts in the forum about init scripts and workaround available to apply a plugin in there.
https://issues.gradle.org/browse/GRADLE-2407 is still open, listed as BUG. multiple threads state there are workarounds but they still include a step involving editing the build files. I do not wish to edit my 100s of build scripts (as mentioned in the forum this is a violation of DRY).

Can someone please clarify the status ?
What I am trying to do is very simple : apply a sonar analysis plugin globally and activate it via the command line. Is my approach just not making sense?

related post with details on my issue :

thanks


(NIC) #2

Anyone? any help appreciated thanks