Skip to content

Commit

Permalink
try to force snapshot deps to be refreshed
Browse files Browse the repository at this point in the history
  • Loading branch information
pjfanning committed May 9, 2024
1 parent 889d3a8 commit ef6448d
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,20 @@ Test / unmanagedSourceDirectories ++= {
}
}

libraryDependencies ++= Seq(
"com.fasterxml.jackson.core" % "jackson-core" % jacksonVersion,
"com.fasterxml.jackson.core" % "jackson-annotations" % jacksonVersion,
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion,
val jacksonDependencies = if (jacksonVersion.contains("SNAPSHOT"))
Seq(
"com.fasterxml.jackson.core" % "jackson-core" % jacksonVersion changing(),
"com.fasterxml.jackson.core" % "jackson-annotations" % jacksonVersion changing(),
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion changing()
)
else
Seq(
"com.fasterxml.jackson.core" % "jackson-core" % jacksonVersion,
"com.fasterxml.jackson.core" % "jackson-annotations" % jacksonVersion,
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion
)

libraryDependencies ++= jacksonDependencies ++ Seq(
"com.thoughtworks.paranamer" % "paranamer" % "2.8",
// test dependencies
"com.fasterxml.jackson.datatype" % "jackson-datatype-joda" % jacksonVersion % Test,
Expand Down

0 comments on commit ef6448d

Please sign in to comment.