I'm attempting to remove as much unnecessary strings from my build.sbt
as possible
sbt offers way to use Provide, Test, etc. as configuration parameters, like so:
"org.apache.spark" %% "spark-core" % "3.0.0" % Provided,
or
"org.mockito" %% "mockito-scala" % "1.16.3" % Test,
But how can one rewite more complex configurations, like:
"org.scalatest" %% "scalatest" % "3.2.3" % "test,it",
or
.dependsOn(util % "compile->compile;test->test")
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…