Skip to content

Commit acd0c9e

Browse files
committed
🏗️ build: publish to Sonatype Central Host
1 parent b9fdec6 commit acd0c9e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.jvmopts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-Dsun.net.client.defaultReadTimeout=60000

build.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import ReleaseTransformations._
22
import xerial.sbt.Sonatype.sonatypeSettings
3+
import xerial.sbt.Sonatype.sonatypeCentralHost
34

45
// Metadata
56

@@ -190,6 +191,8 @@ ThisBuild / versionPolicyIntention := Compatibility.BinaryAndSourceCompatible
190191

191192
Global / publishMavenStyle := true
192193
Global / publishTo := sonatypePublishToBundle.value
194+
// https://github.com/xerial/sbt-sonatype?tab=readme-ov-file#sonatype-central-host
195+
ThisBuild / sonatypeCredentialHost := sonatypeCentralHost
193196

194197
// https://github.com/xerial/sbt-sonatype#using-with-sbt-release-plugin
195198
releaseCrossBuild := true

0 commit comments

Comments
 (0)