File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
import scalariform .formatter .preferences ._
2
2
import org .typelevel .scalacoptions .ScalacOptions
3
+ import xerial .sbt .Sonatype .sonatypeCentralHost
3
4
4
5
lazy val noPublish = Seq (
5
6
publish := {},
@@ -45,11 +46,8 @@ lazy val recryptSettings = Seq(
45
46
releasePublishArtifactsAction := PgpKeys .publishSigned.value,
46
47
isSnapshot := version.value endsWith " SNAPSHOT" ,
47
48
homepage := Some (url(" http://github.com/ironcorelabs/recrypt" )),
48
- publishTo := Some (
49
- if (isSnapshot.value)
50
- Opts .resolver.sonatypeSnapshots
51
- else
52
- Opts .resolver.sonatypeStaging),
49
+ sonatypeCredentialHost := sonatypeCentralHost,
50
+ publishTo := sonatypePublishToBundle.value,
53
51
publishMavenStyle := true ,
54
52
Test / publishArtifact := false ,
55
53
pomIncludeRepository := { _ => false },
You can’t perform that action at this time.
0 commit comments