From 846308f7b8dee4c3ec8f90ee263a52ff2b785967 Mon Sep 17 00:00:00 2001 From: Jonas Chapuis Date: Thu, 10 Oct 2024 17:56:09 +0200 Subject: [PATCH] Various updates --- build.sbt | 6 +++--- project/plugins.sbt | 8 +++++++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index 1730bd7..157f809 100644 --- a/build.sbt +++ b/build.sbt @@ -1,8 +1,8 @@ import Dependencies.* import sbtversionpolicy.Compatibility.None -val scala213 = "2.13.14" -val scala3 = "3.4.3" +val scala213 = "2.13.15" +val scala3 = "3.5.2" val commonSettings = Seq( wartremoverExcluded += sourceManaged.value, @@ -22,7 +22,7 @@ val commonSettings = Seq( }), Compile / scalacOptions ++= Seq("-Xfatal-warnings"), Compile / scalacOptions ++= (CrossVersion.partialVersion(scalaVersion.value) match { - case Some((3, _)) => Seq("-Ykind-projector:underscores") + case Some((3, _)) => Seq("-Xkind-projector:underscores") case Some((2, _)) => Seq("-Xsource:3", "-P:kind-projector:underscore-placeholders", "-Xlint:unused") case _ => Nil diff --git a/project/plugins.sbt b/project/plugins.sbt index 4195360..3f53282 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,7 +1,13 @@ addSbtPlugin("org.wartremover" % "sbt-wartremover" % "3.2.2") -addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.1.1") + +addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.2.1") + addSbtPlugin("ch.epfl.scala" % "sbt-version-policy" % "3.2.1") + addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.7.0") + addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") + addSbtPlugin("com.github.sbt" % "sbt-site-paradox" % "1.7.0") + addSbtPlugin("com.github.sbt" % "sbt-paradox-material-theme" % "0.7.0")