File tree 1 file changed +14
-4
lines changed
1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -114,10 +114,20 @@ Test / unmanagedSourceDirectories ++= {
114
114
}
115
115
}
116
116
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 (
121
131
" com.thoughtworks.paranamer" % " paranamer" % " 2.8" ,
122
132
// test dependencies
123
133
" com.fasterxml.jackson.datatype" % " jackson-datatype-joda" % jacksonVersion % Test ,
You can’t perform that action at this time.
0 commit comments