We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f89e618 + 750c923 commit 8429b7bCopy full SHA for 8429b7b
project/Build.scala
@@ -987,13 +987,12 @@ object Build {
987
lazy val publishSettings = Seq(
988
publishMavenStyle := true,
989
isSnapshot := version.value.contains("SNAPSHOT"),
990
- publishTo := {
991
- val nexus = "https://oss.sonatype.org/"
+ publishTo := Some(
992
if (isSnapshot.value)
993
- Some("snapshots" at nexus + "content/repositories/snapshots")
+ Opts.resolver.sonatypeSnapshots
994
else
995
- Some("releases" at nexus + "service/local/staging/deploy/maven2")
996
- },
+ Opts.resolver.sonatypeStaging
+ ),
997
publishArtifact in Test := false,
998
homepage := Some(url(dottyGithubUrl)),
999
licenses += ("BSD New",
0 commit comments