We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 327fad2 + b2d9d58 commit f87dddbCopy full SHA for f87dddb
sbt-gcs-plugin/build.sbt
@@ -29,13 +29,13 @@ scalaVersion := ( CrossVersion partialVersion ( pluginCrossBuild / sbtVersion ).
29
30
publishMavenStyle := true
31
32
-publishTo := {
33
- val nexus = "https://oss.sonatype.org/"
34
- if (isSnapshot.value)
35
- Some( "snapshots" at nexus + "content/repositories/snapshots" )
36
- else
37
- Some( "releases" at nexus + "service/local/staging/deploy/maven2" )
38
-}
+import xerial.sbt.Sonatype.sonatypeCentralHost
+
+ThisBuild / sonatypeCredentialHost := sonatypeCentralHost
+ThisBuild / publishTo := sonatypePublishToBundle.value
+ThisBuild / sbtPluginPublishLegacyMavenStyle := false
39
40
pomExtra := (
41
<developers>
0 commit comments