To add the sbt plugin to your project add the sbt plugin dependency in project/plugins.sbt
:
addSbtPlugin("com.nike.sbt.plugins" %% "sbt-redwiggler" % "0.1-SNAPSHOT")
And enable the plugin on projects using:
someProject.enablePlugins(SbtRedWiggler)
If you only have a single project and are using a build.sbt
file, create a root project and enable the redwiggler plugin like this:
lazy val root = (project in file(".")).enablePlugins(SbtRedWiggler)
To add a redwiggler library to your project with the same version of redwiggler that the plugin is using:
libraryDependencies += SbtRedWiggler.redwigglerDependency("restassured")