From 13e962ea2270bfba25d8d227161fc5d4acf80313 Mon Sep 17 00:00:00 2001 From: Crosson David Date: Sat, 28 Sep 2024 11:36:53 +0200 Subject: [PATCH] Update scalafmt and fix deprecated sbt publish config --- .scalafmt.conf | 2 +- publish.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.scalafmt.conf b/.scalafmt.conf index cda4499..036fadc 100644 --- a/.scalafmt.conf +++ b/.scalafmt.conf @@ -1,4 +1,4 @@ -version = 3.8.2 +version = 3.8.3 runner.dialect = scala3 align.preset = most maxColumn = 200 diff --git a/publish.sbt b/publish.sbt index 5af2ee0..4d1c60b 100644 --- a/publish.sbt +++ b/publish.sbt @@ -4,7 +4,7 @@ releaseCrossBuild := true releasePublishArtifactsAction := PgpKeys.publishSigned.value publishMavenStyle := true Test / publishArtifact := false -publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeSnapshots else Opts.resolver.sonatypeStaging) +publishTo := Some(if (isSnapshot.value) Opts.resolver.sonatypeOssSnapshots.head else Opts.resolver.sonatypeStaging) Global / PgpKeys.useGpg := true // workaround with pgp and sbt 1.2.x pgpSecretRing := pgpPublicRing.value // workaround with pgp and sbt 1.2.x