2
我正在開發AutoPlugin,我希望它將IntegrationTest
配置添加到啓用該插件的項目。這可能嗎?在SBT中,是否可以使用AutoPlugin將IntegrationTest配置添加到項目中?
我首先想到的是,這可能在buildSettings
,纔有可能不過的例子,我已經看到了添加(from the SBT docs)通過方法調用上Project
實例實現IntegrationTest
配置顯示...即:
lazy val root =
Project("root", file("."))
.configs(IntegrationTest)
.settings(Defaults.itSettings : _*)