Hi:
I am writing a sbt task. In this task, I want to get the list of plugins used by current project.
I have tried the keys: sbt.Keys.pluginData, sbt.Keys.definedSbtPlugins, but seems they are all not defined in scope compile.
The only way I can find now, is to scan and parse ./project/plugins.sbt and all the separate plugins.sbt file.
Is there any elegant way to do this.