File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,6 @@ commands += DFHDLCommands.docExamplesRefUpdate
55val projectName = " dfhdl"
66val compilerVersion = " 3.7.1"
77
8- import xerial .sbt .Sonatype .sonatype01
98inThisBuild(
109 List (
1110 homepage := Some (url(" https://dfianthdl.github.io/" )),
@@ -20,7 +19,11 @@ inThisBuild(
2019 url(" https://twitter.com/soronpo" )
2120 )
2221 ),
23- sonatypeCredentialHost := sonatype01
22+ publishTo := {
23+ val centralSnapshots = " https://central.sonatype.com/repository/maven-snapshots/"
24+ if (isSnapshot.value) Some (" central-snapshots" at centralSnapshots)
25+ else localStaging.value
26+ }
2427 )
2528)
2629
Original file line number Diff line number Diff line change @@ -5,5 +5,3 @@ addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")
55addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.11.1" )
66
77addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.5.4" )
8-
9- addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.21" )
You can’t perform that action at this time.
0 commit comments