-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
45 lines (35 loc) · 1.27 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import sbtrelease.ReleaseStateTransformations._
import sbtversionpolicy.withsbtrelease.ReleaseVersion
name:="cross-platform-navigation"
ThisBuild / scalaVersion := "3.3.4"
crossScalaVersions := Seq(scalaVersion.value, "2.13.16")
resolvers ++= Resolver.sonatypeOssRepos("releases")
libraryDependencies ++= Seq(
"com.fasterxml.jackson.core" % "jackson-databind" % "2.18.2",
"org.playframework" %% "play-json" % "3.0.4",
"org.slf4j" % "slf4j-api" % "2.0.16",
"org.specs2" %% "specs2-core" % "4.20.9" % 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"
)