From e69fa9f9ec800f5ae2fa136575f6b5d9384ee4e2 Mon Sep 17 00:00:00 2001 From: Roberto Tyley <52038+rtyley@users.noreply.github.com> Date: Wed, 23 Oct 2024 11:47:36 +0100 Subject: [PATCH] Upgrade `sbt` to allow Scala Steward to run We need at least sbt 1.9.0 to run Scala Steward, see: * https://github.com/guardian/maintaining-scala-projects/issues/7 See also: * https://github.com/guardian/maintaining-scala-projects/issues/13 --- project/build.properties | 2 +- project/plugins.sbt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/project/build.properties b/project/build.properties index 22af2628..bc739060 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.7.1 +sbt.version=1.10.3 diff --git a/project/plugins.sbt b/project/plugins.sbt index 5f8ec782..4eaabbfe 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -12,3 +12,7 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.12.0") // need to add jdeb dependency explicitly because https://github.com/sbt/sbt-native-packager/issues/1053 libraryDependencies += "org.vafer" % "jdeb" % "1.3" artifacts (Artifact("jdeb", "jar", "jar")) +/* + See https://github.com/guardian/maintaining-scala-projects/issues/13 + */ +libraryDependencySchemes += "org.scala-lang.modules" %% "scala-xml" % VersionScheme.Always