File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ lazy val scalaFXExtrasSettings = Seq(
124124 },
125125 autoAPIMappings := true ,
126126 manifestSetting,
127- publishSetting ,
127+ publishTo := sonatypePublishToBundle.value ,
128128 fork in run := true ,
129129 fork in Test := true ,
130130 parallelExecution in Test := false ,
@@ -152,14 +152,6 @@ lazy val manifestSetting = packageOptions += {
152152 )
153153}
154154
155- lazy val publishSetting = publishTo := {
156- val nexus = " https://oss.sonatype.org/"
157- if (isSnapshot.value)
158- Some (" snapshots" at nexus + " content/repositories/snapshots" )
159- else
160- Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
161- }
162-
163155// Metadata needed by Maven Central
164156// See also http://maven.apache.org/pom.html#Developers
165157lazy val mavenCentralSettings = Seq (
Original file line number Diff line number Diff line change 11// [https://github.com/xerial/sbt-sonatype]
2- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 2.5 " )
2+ addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.7 " )
33addSbtPlugin(" com.jsuereth" % " sbt-pgp" % " 1.1.2" )
You can’t perform that action at this time.
0 commit comments