diff --git a/build.sbt b/build.sbt index a552425..695eca1 100644 --- a/build.sbt +++ b/build.sbt @@ -12,7 +12,7 @@ lazy val scala212 = "2.12.20" lazy val scala213 = "2.13.15" lazy val scala3 = "3.3.4" -lazy val scalaV = scala3 +lazy val scalaV = scala213 lazy val allScalas = List("2.12", "2.13", "3.3") inThisBuild( @@ -120,6 +120,7 @@ lazy val docs = project moduleName := "zio-query-docs", scalacOptions -= "-Yno-imports", scalacOptions -= "-Xfatal-warnings", + scalacOptions -= "-Xsource:3", projectName := (ThisBuild / name).value, mainModuleName := (zioQueryJVM / moduleName).value, crossScalaVersions := Seq(scalaV), diff --git a/project/plugins.sbt b/project/plugins.sbt index 235839f..8630c5e 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -9,5 +9,6 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.12.0") addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.5.5") addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.17.0") addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.13.0") +addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.6.1") resolvers ++= Resolver.sonatypeOssRepos("public")