From b52e32fb9e19e0679ab6b8433ca531b03bf9579e Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sun, 14 Jul 2024 14:49:12 +0000 Subject: [PATCH 1/2] Applied Scalafix rule(s) https://gist.githubusercontent.com/eed3si9n/57e83f5330592d968ce49f0d5030d4d5/raw/7f576f16a90e432baa49911c9a66204c354947bb/Sbt0_13BuildSyntax.scala See https://eed3si9n.com/syntactic-scalafix-rule-for-unified-slash-syntax for details --- build.sbt | 6 +++--- version.sbt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 53a0ee2..303e7d7 100644 --- a/build.sbt +++ b/build.sbt @@ -42,8 +42,8 @@ val baseSettings = Seq( Resolver.sonatypeRepo("snapshots") ), scalacOptions ++= compilerOptions ++ Seq("-Ywarn-unused-import"), - scalacOptions in (Compile, console) ~= (_ filterNot (_ == "-Ywarn-unused-import")), - scalacOptions in (Compile, console) += "-Yrepl-class-based" + (Compile / console / scalacOptions) ~= (_ filterNot (_ == "-Ywarn-unused-import")), + (Compile / console / scalacOptions) += "-Yrepl-class-based" ) lazy val publishSettings = Seq( @@ -56,7 +56,7 @@ lazy val publishSettings = Seq( else Some("releases" at nexus + "service/local/staging/deploy/maven2") }, - publishArtifact in Test := false, + (Test / publishArtifact) := false, pgpSecretRing := file("local.secring.gpg"), pgpPublicRing := file("local.pubring.gpg"), releasePublishArtifactsAction := PgpKeys.publishSigned.value, diff --git a/version.sbt b/version.sbt index 75f4973..e8d5994 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.32.0-SNAPSHOT" +(ThisBuild / version) := "0.32.0-SNAPSHOT" From 26b32d634dee2aa1e5932053c4e5c313db69455d Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Sun, 14 Jul 2024 14:49:12 +0000 Subject: [PATCH 2/2] Update sbt to 1.10.1 --- project/build.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/build.properties b/project/build.properties index d6e3507..ee4c672 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.1.6 +sbt.version=1.10.1