From acd0c9eda344c026b35789b5d0a7eb11793604a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Jourdan-Weil?= Date: Sun, 4 May 2025 14:25:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8F=97=EF=B8=8F=20build:=20publish=20to?= =?UTF-8?q?=20Sonatype=20Central=20Host?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .jvmopts | 1 + build.sbt | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 .jvmopts diff --git a/.jvmopts b/.jvmopts new file mode 100644 index 0000000..fdb176c --- /dev/null +++ b/.jvmopts @@ -0,0 +1 @@ +-Dsun.net.client.defaultReadTimeout=60000 \ No newline at end of file diff --git a/build.sbt b/build.sbt index 08932bb..5743208 100644 --- a/build.sbt +++ b/build.sbt @@ -1,5 +1,6 @@ import ReleaseTransformations._ import xerial.sbt.Sonatype.sonatypeSettings +import xerial.sbt.Sonatype.sonatypeCentralHost // Metadata @@ -190,6 +191,8 @@ ThisBuild / versionPolicyIntention := Compatibility.BinaryAndSourceCompatible Global / publishMavenStyle := true Global / publishTo := sonatypePublishToBundle.value +// https://github.com/xerial/sbt-sonatype?tab=readme-ov-file#sonatype-central-host +ThisBuild / sonatypeCredentialHost := sonatypeCentralHost // https://github.com/xerial/sbt-sonatype#using-with-sbt-release-plugin releaseCrossBuild := true