Skip to content

Commit

Permalink
Do not truncate output of dependencyTree command to ensure snyk does …
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathonherbert committed Nov 8, 2023
1 parent 78e9c5c commit 51ba3cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ ThisBuild / scalacOptions := Seq(
"-Wconf:src=twirl/.*:s"
)

// Prevent the output of dependencyTree being truncated to avoid misreporting dependencies.
// See https://support.snyk.io/hc/en-us/articles/9590215676189-Deeply-nested-Scala-projects-have-dependencies-truncated
ThisBuild / asciiGraphWidth := 999999999

val languageToolVersion = "6.0"
val awsSdkVersion = "1.12.576"
val capiModelsVersion = "17.5.1"
Expand Down
1 change: 0 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.9.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.2")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.0") // "2.4.0" is just sbt plugin version
addSbtPlugin("org.scalikejdbc" %% "scalikejdbc-mapper-generator" % "3.5.0")
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.10.0-RC1")

libraryDependencies ++= Seq("org.vafer" % "jdeb" % "1.7" artifacts Artifact("jdeb", "jar", "jar"), "org.postgresql" % "postgresql" % "42.5.1")

0 comments on commit 51ba3cd

Please sign in to comment.