11lazy val scala212 = " 2.12.21"
2- lazy val scala3 = " 3.7.4 "
2+ lazy val scala3 = " 3.8.1 "
33ThisBuild / crossScalaVersions := Seq (scala212, scala3)
44ThisBuild / scalaVersion := scala212
55ThisBuild / version := {
@@ -17,7 +17,7 @@ lazy val root = (project in file("."))
1717 (pluginCrossBuild / sbtVersion) := {
1818 scalaBinaryVersion.value match {
1919 case " 2.12" => " 1.5.8"
20- case _ => " 2.0.0-RC6 "
20+ case _ => " 2.0.0-RC9 "
2121 }
2222 },
2323 scriptedSbt := {
@@ -32,7 +32,7 @@ Global / onChangedBuildSource := ReloadOnSourceChanges
3232ThisBuild / description := " sbt plugin to create a unified API document across projects"
3333ThisBuild / organization := " com.github.sbt"
3434ThisBuild / homepage := Some (url(" https://github.com/sbt/sbt-unidoc" ))
35- ThisBuild / Compile / scalacOptions ++= Seq (" -feature" , " -deprecation" , " -Xlint" )
35+ ThisBuild / scalacOptions ++= Seq (" -feature" , " -deprecation" , " -Xlint" )
3636ThisBuild / licenses := List (License .Apache2 )
3737ThisBuild / developers := List (
3838 Developer (
@@ -43,10 +43,9 @@ ThisBuild / developers := List(
4343 )
4444)
4545ThisBuild / dynverSonatypeSnapshots := true
46- Compile / scalacOptions ++= {
47- // https://github.com/sbt/sbt/issues/8220
46+ scalacOptions ++= {
4847 if (scalaBinaryVersion.value == " 2.12" )
49- Seq (" -Wconf:cat=unused-nowarn:s " )
48+ Seq (" -release:8 " )
5049 else
5150 Nil
5251}
0 commit comments