Skip to content

Commit ef6448d

Browse files
committed
try to force snapshot deps to be refreshed
1 parent 889d3a8 commit ef6448d

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

build.sbt

+14-4
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,20 @@ Test / unmanagedSourceDirectories ++= {
114114
}
115115
}
116116

117-
libraryDependencies ++= Seq(
118-
"com.fasterxml.jackson.core" % "jackson-core" % jacksonVersion,
119-
"com.fasterxml.jackson.core" % "jackson-annotations" % jacksonVersion,
120-
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion,
117+
val jacksonDependencies = if (jacksonVersion.contains("SNAPSHOT"))
118+
Seq(
119+
"com.fasterxml.jackson.core" % "jackson-core" % jacksonVersion changing(),
120+
"com.fasterxml.jackson.core" % "jackson-annotations" % jacksonVersion changing(),
121+
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion changing()
122+
)
123+
else
124+
Seq(
125+
"com.fasterxml.jackson.core" % "jackson-core" % jacksonVersion,
126+
"com.fasterxml.jackson.core" % "jackson-annotations" % jacksonVersion,
127+
"com.fasterxml.jackson.core" % "jackson-databind" % jacksonVersion
128+
)
129+
130+
libraryDependencies ++= jacksonDependencies ++ Seq(
121131
"com.thoughtworks.paranamer" % "paranamer" % "2.8",
122132
// test dependencies
123133
"com.fasterxml.jackson.datatype" % "jackson-datatype-joda" % jacksonVersion % Test,

0 commit comments

Comments
 (0)