Skip to content

Instantly share code, notes, and snippets.

@howzat
Created August 11, 2019 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save howzat/b45c39f15d8a93f80c3aecb737b87481 to your computer and use it in GitHub Desktop.
Save howzat/b45c39f15d8a93f80c3aecb737b87481 to your computer and use it in GitHub Desktop.
Overriding PACT settings defined in release plugin (for local testing)
val pactSettings: Seq[Setting[_]] = Seq(
version := "1.0.0",
pactContractVersion := "1.0.0",
pactBrokerAddress := "http://localhost",
buildInfoPackage := "gg.gov.revenue.sbt",
buildInfoKeys := Seq[BuildInfoKey](name, version, scalaVersion, sbtVersion, pactBrokerAddress)
)
....
.settings(pactSettings)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment