-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.sbt
More file actions
39 lines (37 loc) · 1.24 KB
/
Copy pathbuild.sbt
File metadata and controls
39 lines (37 loc) · 1.24 KB
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
import Dependencies._
val scala3 = "3.6.2"
val scala213 = "2.13.15"
lazy val supportedScalaVersions = List(scala3, scala213)
inScope(Scope.GlobalScope)(
List(
organization := "us.oyanglul",
licenses := Seq("Apache License 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
homepage := Some(url("https://github.com/jcouyang/jujiu")),
developers := List(
Developer("jcouyang", "Jichao Ouyang", "oyanglulu@gmail.com", url("https://github.com/jcouyang"))
),
scmInfo := Some(
ScmInfo(
url("https://github.com/jcouyang/jujiu"),
"scm:git@github.com:jcouyang/jujiu.git"
)
),
pgpPublicRing := file(".") / ".gnupg" / "pubring.asc",
pgpSecretRing := file(".") / ".gnupg" / "secring.asc",
releaseEarlyWith := SonatypePublisher,
scalaVersion := scala3
)
)
val deps = cats ++ javaCompat ++ specs2
lazy val root = (project in file("."))
.configs(IntegrationTest)
.settings(
Defaults.itSettings,
name := "Jujiu",
scalacOptions ++= Seq("-language:implicitConversions"),
Test / scalacOptions -= "-Xfatal-warnings",
crossScalaVersions := supportedScalaVersions,
libraryDependencies ++= deps.map(_.cross(CrossVersion.for3Use2_13)) ++
caffeine ++
redis
)