From ef6448d3916aa3b253fada3a0c93df97bd35065f Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 9 May 2024 21:51:19 +0100 Subject: [PATCH] try to force snapshot deps to be refreshed --- build.sbt | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index e64919f4..0b814e62 100644 --- a/build.sbt +++ b/build.sbt @@ -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,