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/project/build.properties b/project/build.properties index 0837f7a..c8fcab5 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.3.13 +sbt.version=1.6.2 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"