-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* sbt, app dependencies and conf * scoverage settings * Upgrade bootstrap
- Loading branch information
1 parent
7ad2bea
commit 1bd0df7
Showing
12 changed files
with
72 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import sbt._ | ||
import play.core.PlayVersion | ||
|
||
object AppDependencies { | ||
def apply(): Seq[ModuleID] = dependencies ++ testDependencies | ||
|
||
private lazy val dependencies = Seq( | ||
"uk.gov.hmrc" %% "bootstrap-backend-play-26" % "4.0.0", | ||
"uk.gov.hmrc" %% "simple-reactivemongo" % "7.30.0-play-26", | ||
"org.julienrf" %% "play-json-derived-codecs" % "6.0.0", | ||
"com.typesafe.play" %% "play-json" % "2.8.1", | ||
"uk.gov.hmrc" %% "http-metrics" % "1.11.0", | ||
"org.typelevel" %% "cats-core" % "2.1.0", | ||
"eu.timepit" %% "refined" % "0.9.13", | ||
"be.venneborg" %% "play26-refined" % "0.5.0", | ||
"commons-validator" % "commons-validator" % "1.6" | ||
) | ||
|
||
private lazy val testDependencies = Seq( | ||
"uk.gov.hmrc" %% "reactivemongo-test" % "4.21.0-play-26", | ||
"org.scalatestplus.play" %% "scalatestplus-play" % "3.1.3", | ||
"org.mockito" %% "mockito-scala-scalatest" % "1.14.4", | ||
"org.pegdown" % "pegdown" % "1.6.0", | ||
"com.typesafe.play" %% "play-test" % play.core.PlayVersion.current, | ||
"com.github.tomakehurst" % "wiremock-jre8-standalone" % "2.27.1" | ||
).map(d => d % "test,acceptance") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import scoverage.ScoverageKeys._ | ||
|
||
object ScoverageSettings { | ||
def apply() = Seq( | ||
coverageMinimum := 94.00, | ||
coverageFailOnMinimum := true, | ||
coverageHighlighting := true, | ||
|
||
// Semicolon-separated list of regexs matching classes to exclude | ||
coverageExcludedPackages := Seq( | ||
"<empty>", | ||
"com.kenshoo.play.metrics.*", | ||
"prod.*", | ||
"testOnlyDoNotUseInAppConf.*", | ||
"app.*", | ||
"uk.gov.hmrc.apisubscriptionfields.config", | ||
"uk.gov.hmrc.BuildInfo" | ||
).mkString(";") | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.3.7 | ||
sbt.version=1.4.9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters