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
5
5
val projectName = " dfhdl"
6
6
val compilerVersion = " 3.7.1"
7
7
8
- import xerial .sbt .Sonatype .sonatype01
9
8
inThisBuild(
10
9
List (
11
10
homepage := Some (url(" https://dfianthdl.github.io/" )),
@@ -20,7 +19,11 @@ inThisBuild(
20
19
url(" https://twitter.com/soronpo" )
21
20
)
22
21
),
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
+ }
24
27
)
25
28
)
26
29
Original file line number Diff line number Diff line change @@ -5,5 +5,3 @@ addSbtPlugin("com.timushev.sbt" % "sbt-updates" % "0.6.4")
5
5
addSbtPlugin(" com.github.sbt" % " sbt-ci-release" % " 1.11.1" )
6
6
7
7
addSbtPlugin(" 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