Skip to content

Commit b643ac1

Browse files
committed
Update build.sbt
1 parent 75edfe6 commit b643ac1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

build.sbt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,16 @@ ThisBuild / sonatypeCredentialHost := sonatypeCentralHost
2020
resolvers += "Sonatype Central Snapshots" at "https://central.sonatype.com/repository/maven-snapshots"
2121
resolvers ++= Resolver.sonatypeOssRepos("snapshots")
2222

23+
publishTo := {
24+
if (isSnapshot.value)
25+
Some("snapshots" at "https://central.sonatype.com/repository/maven-snapshots")
26+
else
27+
None
28+
}
29+
2330
bomFormat := "xml"
2431

25-
val jacksonVersion = "3.0.0-rc5-SNAPSHOT"
32+
val jacksonVersion = "3.0.0-rc5"
2633

2734
autoAPIMappings := true
2835

0 commit comments

Comments
 (0)