-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sbt
50 lines (42 loc) · 1.18 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
46
47
48
49
50
import scala.collection.Seq
val scala3Version = "3.4.2"
inThisBuild(
List(
organization := "in.rcard.sus4s",
homepage := Some(url("https://github.com/rcardin")),
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")),
developers := List(
Developer(
"rcardin",
"Riccardo Cardin",
"riccardo DOT cardin AT gmail.com",
url("https://github.com/rcardin/sus4s")
)
)
)
)
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
sonatypeProfileName := "in.rcard"
lazy val core = project
.settings(
name := "core",
scalaVersion := scala3Version,
libraryDependencies ++= commonDependencies
)
lazy val root = (project in file("."))
.aggregate(core)
.settings(
scalaVersion := scala3Version,
)
lazy val dependencies =
new {
val scalatestVersion = "3.2.18"
val scalatest = "org.scalatest" %% "scalatest" % scalatestVersion
}
lazy val commonDependencies = Seq(
dependencies.scalatest % Test
)
libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.2.18" % Test
)