Skip to content

Commit

Permalink
Update scalatest settings
Browse files Browse the repository at this point in the history
  • Loading branch information
xuwei-k committed Jan 8, 2023
1 parent ca3cb77 commit 2e98543
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ lazy val gitsupport = (project in file("cli-git"))
jgit,
jgitSshApache,
commonsIo,
scalatest % Test,
scalamock % Test
),
libraryDependencies ++= scalatest,
run / fork := true,
buildInfoKeys := Seq(name, version, scalaVersion, sbtVersion),
buildInfoPackage := "giter8"
Expand All @@ -159,14 +159,14 @@ lazy val lib = (project in file("library"))
name := "giter8-lib",
description := "shared library for app and plugin",
crossScalaVersions := List(scala212, scala213),
libraryDependencies ++= scalatest,
libraryDependencies ++= Seq(
stringTemplate,
jgit,
commonsIo,
plexusArchiver,
scalacheck % Test,
sbtIo % Test,
scalatest % Test,
scalamock % Test,
"org.slf4j" % "slf4j-simple" % "1.7.36" % Test
) ++
Expand Down
11 changes: 8 additions & 3 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,14 @@ object Dependencies {
val jgitSshApache = "org.eclipse.jgit" % "org.eclipse.jgit.ssh.apache" % "5.13.1.202206130422-r" excludeAll (
ExclusionRule("org.apache.sshd", "sshd-sftp")
)
val scopt = "com.github.scopt" %% "scopt" % "4.1.0"
val scalacheck = "org.scalacheck" %% "scalacheck" % "1.17.0"
val scalatest = "org.scalatest" %% "scalatest" % "3.2.15"
val scopt = "com.github.scopt" %% "scopt" % "4.1.0"
val scalacheck = "org.scalacheck" %% "scalacheck" % "1.17.0"
val scalatest = Seq(
"org.scalatest" %% "scalatest-flatspec" % "3.2.15" % Test,
"org.scalatest" %% "scalatest-funspec" % "3.2.15" % Test,
"org.scalatest" %% "scalatest-funsuite" % "3.2.15" % Test,
"org.scalatest" %% "scalatest-shouldmatchers" % "3.2.15" % Test
)
val scalamock = "org.scalamock" %% "scalamock" % "5.2.0"
val verify = "com.eed3si9n.verify" %% "verify" % "1.0.0"
val sbtIo = "org.scala-sbt" %% "io" % "1.8.0"
Expand Down

0 comments on commit 2e98543

Please sign in to comment.