build.sbt (34 lines of code) (raw):

import sbtrelease.ReleaseStateTransformations._ import sbtversionpolicy.withsbtrelease.ReleaseVersion name:="cross-platform-navigation" ThisBuild / scalaVersion := "3.3.5" crossScalaVersions := Seq(scalaVersion.value, "2.13.16") resolvers ++= Resolver.sonatypeOssRepos("releases") libraryDependencies ++= Seq( "com.fasterxml.jackson.core" % "jackson-databind" % "2.19.0", "org.playframework" %% "play-json" % "3.0.4", "org.slf4j" % "slf4j-api" % "2.0.17", "org.specs2" %% "specs2-core" % "4.21.0" % Test ) Test / unmanagedResourceDirectories += baseDirectory.value / "json" enablePlugins(BuildInfoPlugin) description := "Provides scala representation of the navigation menus for the www.theguardian.com and guardian apps" organization := "com.gu" licenses := Seq(License.Apache2) scalacOptions ++= Seq("-deprecation", "-unchecked", "-release:11") releaseCrossBuild := true // releaseVersion := ReleaseVersion.fromAggregatedAssessedCompatibilityWithLatestRelease().value releaseProcess := Seq( checkSnapshotDependencies, inquireVersions, runClean, runTest, setReleaseVersion, commitReleaseVersion, tagRelease, setNextVersion, commitNextVersion ) Test/testOptions += Tests.Argument( TestFrameworks.ScalaTest, "-u", s"test-results/scala-${scalaVersion.value}", "-o" )