-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
39 lines (30 loc) · 1.4 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
name := "anorm221"
val scala213 = "2.13.12"
val scala3 = "3.3.1"
ThisBuild / scalaVersion := scala213
ThisBuild / organization := "org.broadinstitute.gpp"
ThisBuild / versionScheme := Some("early-semver")
githubTokenSource := TokenSource.Environment("GITHUB_TOKEN") || TokenSource.GitConfig("github.token")
version := "2.2.1.8"
scalaVersion := scala213
crossScalaVersions := Seq(scala213, scala3)
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")
scalacOptions ++=
(CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) => Seq("-source:3.0-migration", "-explain")
case _ => Seq.empty
})
//--------------------------------------------------------------------------------------------------
// The libraries that we depend on:
//--------------------------------------------------------------------------------------------------
libraryDependencies +=
(CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) => "org.scala-lang.modules" %% "scala-parser-combinators" % "2.3.0"
case _ =>"org.scala-lang.modules" %% "scala-parser-combinators" % "1.1.2"
})
// Configure publishing to GitHub Packages:
githubTokenSource := TokenSource.GitConfig("github.token")
githubOwner := "broadinstitute"
githubRepository := "anorm221"
// Disable parallel execution of tests (can cause problems with integration tests)
Test / parallelExecution := false