From db7e6cec4c68800f2f67df717ff7c65c6e48c8ea Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 29 Dec 2021 06:14:58 +0100 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 | 12 ++++++------ version.sbt | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/build.sbt b/build.sbt index f43b714..58a6fc7 100644 --- a/build.sbt +++ b/build.sbt @@ -53,9 +53,9 @@ lazy val commonSettings = Seq( crossScalaVersions := Seq(scalaVersion.value, "2.11.12"), scalacOptions += "-Yrangepos", - scalacOptions in (Compile, doc) ++= Seq( + (Compile / doc / scalacOptions) ++= Seq( "-groups", - "-sourcepath", (baseDirectory in LocalRootProject).value.getAbsolutePath, + "-sourcepath", (LocalRootProject / baseDirectory).value.getAbsolutePath, "-doc-source-url", "https://github.com/ChristopherDavenport/doobie-pool/blob/v" + version.value + "€{FILE_PATH}.scala" ), @@ -117,7 +117,7 @@ lazy val releaseSettings = { password ) ).toSeq, - publishArtifact in Test := false, + (Test / publishArtifact) := false, releasePublishArtifactsAction := PgpKeys.publishSigned.value, scmInfo := Some( ScmInfo( @@ -222,8 +222,8 @@ lazy val micrositeSettings = { "gray-lighter" -> "#F4F3F4", "white-color" -> "#FFFFFF" ), - fork in tut := true, - scalacOptions in Tut --= Seq( + (tut / fork) := true, + (Tut / scalacOptions) --= Seq( "-Xfatal-warnings", "-Ywarn-unused-import", "-Ywarn-numeric-widen", @@ -243,7 +243,7 @@ lazy val micrositeSettings = { } lazy val skipOnPublishSettings = Seq( - skip in publish := true, + (publish / skip) := true, publish := (()), publishLocal := (()), publishArtifact := false, diff --git a/version.sbt b/version.sbt index 2558ec5..2afdf62 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.0.3-SNAPSHOT" +(ThisBuild / version) := "0.0.3-SNAPSHOT" From 3332fceb77a78c755cc57a62b993e37763e1fd22 Mon Sep 17 00:00:00 2001 From: Scala Steward Date: Wed, 29 Dec 2021 06:14:58 +0100 Subject: [PATCH 2/2] Update sbt to 1.6.1 --- project/build.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/build.properties b/project/build.properties index 0837f7a..3161d21 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.3.13 +sbt.version=1.6.1