-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.sbt
27 lines (24 loc) · 992 Bytes
/
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
val dottyVersion = "3.3.3" // dottyLatestNightlyBuild.get
lazy val root = project
.in(file("."))
.settings(
name := "scala-xml-interpolator",
version := "0.1.0",
scalaVersion := dottyVersion,
scalacOptions ++= Seq(
"-deprecation", "-feature", "-language:implicitConversions"
),
libraryDependencies ++= Seq(
"org.scala-lang.modules" % "scala-parser-combinators_2.13" % "1.1.2",
"org.scala-lang.modules" % "scala-xml_2.13" % "2.2.0",
"com.novocode" % "junit-interface" % "0.11" % "test"
)
)
ThisBuild / githubWorkflowJavaVersions := Seq("8", "11", "17").map(JavaSpec.temurin)
ThisBuild / githubWorkflowScalaVersions := Seq(dottyVersion)
ThisBuild / githubWorkflowBuildPostamble := Seq(
// This runs the template with the default parameters, and runs test within the templated app.
WorkflowStep.Run(List("sbt test")),
)
ThisBuild / githubWorkflowPublishTargetBranches := Nil
Global / onChangedBuildSource := ReloadOnSourceChanges