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.
1 parent 28dd64a commit ac1d930Copy full SHA for ac1d930
build.sbt
@@ -19,13 +19,8 @@ publishArtifact in Test := false
19
pomIncludeRepository := { _ =>
20
false
21
}
22
-publishTo := {
23
- val nexus = "https://oss.sonatype.org/"
24
- if (version.value.trim.endsWith("SNAPSHOT"))
25
- Some("snapshots" at nexus + "content/repositories/snapshots")
26
- else
27
- Some("releases" at nexus + "service/local/staging/deploy/maven2")
28
-}
+// Add the default sonatype repository setting
+publishTo := sonatypePublishTo.value
29
30
organizationName := "Codacy"
31
organizationHomepage := Some(new URL("https://www.codacy.com"))
0 commit comments