How to get all the plugin infos in sbt task

15 views
Skip to first unread message

Xin Yao

unread,
Aug 18, 2014, 1:58:55 AM8/18/14
to simple-b...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages