I already know (and have working) the ability to
for project/Build.scala
style sbt projects.
However, I do not know how (or if it is possible) to do this in a simple build.sbt
project: the problem is when configs
is called on the Project
.
If it is possible to apply Tag
filters to scalatest, how does one do it in a build.sbt
?
Note: I don't want the filter in Test
, I want it in a custom Configuration
. The workaround is to use test-only * -- -l SlowTest
(which is kinda clunky).
It looks like one can now define a root
in a build.sbt
, so the above sytax is allowed
eg
lazy val root = project in file(".") settings (
...
) configs ( MY CONFIG GOES HERE)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.