vendredi 30 septembre 2016

Make sbt constant having a dependency included in Test and Integration Test

How to state that a library should be used for Test and IntegrationTest without falling back to strings like "test,it"?

Example:

  "org.scalamock" %% "scalamock-scalatest-support" % "3.3.0" % Test,
  "org.scalatest" %% "scalatest" % scalaTestVersion % "test,it" //<- how to make this safer

Aucun commentaire:

Enregistrer un commentaire